SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002351s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020303s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163675 LIMIT 5 [ RunTime:0.029214s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163675 ORDER BY `minOrder` ASC [ RunTime:0.010773s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12163675 ORDER BY `unit` DESC [ RunTime:0.011560s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12163675 LIMIT 2 [ RunTime:0.008646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163675 ORDER BY `minOrder` ASC [ RunTime:0.026656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181603 LIMIT 5 [ RunTime:0.027901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181603 ORDER BY `minOrder` ASC [ RunTime:0.018985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181603 ORDER BY `unit` DESC [ RunTime:0.009503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181603 LIMIT 2 [ RunTime:0.043439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181603 ORDER BY `minOrder` ASC [ RunTime:0.008113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181602 LIMIT 5 [ RunTime:0.003303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181602 ORDER BY `minOrder` ASC [ RunTime:0.021831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181602 ORDER BY `unit` DESC [ RunTime:0.019876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181602 LIMIT 2 [ RunTime:0.021205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181602 ORDER BY `minOrder` ASC [ RunTime:0.007894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181469 LIMIT 5 [ RunTime:0.001419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181469 ORDER BY `minOrder` ASC [ RunTime:0.009801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181469 ORDER BY `unit` DESC [ RunTime:0.006204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181469 LIMIT 2 [ RunTime:0.019190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181469 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011899s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64378556 LIMIT 5 [ RunTime:0.007810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378556 ORDER BY `minOrder` ASC [ RunTime:0.007450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64378556 ORDER BY `unit` DESC [ RunTime:0.009738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64378556 LIMIT 2 [ RunTime:0.001592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378556 ORDER BY `minOrder` ASC [ RunTime:0.011362s ]
select * from pdf where partno='P35-12XE/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.003449s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002532s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12XE/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.000629s ]
SELECT `id` FROM `stock` WHERE `id` <> 64378556 AND `partno` = 'P35-12XE/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.007205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163675 [ RunTime:0.006023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64378555 LIMIT 5 [ RunTime:0.006079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378555 ORDER BY `minOrder` ASC [ RunTime:0.003652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64378555 ORDER BY `unit` DESC [ RunTime:0.016139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64378555 LIMIT 2 [ RunTime:0.003661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378555 ORDER BY `minOrder` ASC [ RunTime:0.002739s ]
select * from pdf where partno='P35-12XA/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.007227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12XA/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.012678s ]
SELECT `id` FROM `stock` WHERE `id` <> 64378555 AND `partno` = 'P35-12XA/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.001051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181603 [ RunTime:0.000718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64378554 LIMIT 5 [ RunTime:0.003517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378554 ORDER BY `minOrder` ASC [ RunTime:0.011144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64378554 ORDER BY `unit` DESC [ RunTime:0.000740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64378554 LIMIT 2 [ RunTime:0.000652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378554 ORDER BY `minOrder` ASC [ RunTime:0.002789s ]
select * from pdf where partno='P35-12X/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.000817s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12X/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.007372s ]
SELECT `id` FROM `stock` WHERE `id` <> 64378554 AND `partno` = 'P35-12X/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.002231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181602 [ RunTime:0.015414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64378195 LIMIT 5 [ RunTime:0.001397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378195 ORDER BY `minOrder` ASC [ RunTime:0.004555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64378195 ORDER BY `unit` DESC [ RunTime:0.006522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64378195 LIMIT 2 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378195 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
select * from pdf where partno='P35-12X' and brandshort='Polytron' limit 1 [ RunTime:0.001320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12X' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.000787s ]
SELECT `id` FROM `stock` WHERE `id` <> 64378195 AND `partno` = 'P35-12X' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.008311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64378129 LIMIT 5 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378129 ORDER BY `minOrder` ASC [ RunTime:0.000456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64378129 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64378129 LIMIT 2 [ RunTime:0.000839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64378129 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
select * from pdf where partno='P35-12XE' and brandshort='Polytron' limit 1 [ RunTime:0.000569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12XE' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT `id` FROM `stock` WHERE `id` <> 64378129 AND `partno` = 'P35-12XE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.002015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64377551 LIMIT 5 [ RunTime:0.002588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64377551 ORDER BY `minOrder` ASC [ RunTime:0.005866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64377551 ORDER BY `unit` DESC [ RunTime:0.000751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64377551 LIMIT 2 [ RunTime:0.000583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64377551 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
select * from pdf where partno='P35-12XA' and brandshort='Polytron' limit 1 [ RunTime:0.001200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P35-12XA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.009692s ]
SELECT `id` FROM `stock` WHERE `id` <> 64377551 AND `partno` = 'P35-12XA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.001562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181469 [ RunTime:0.015856s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001617s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001653s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002285s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004266s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009724s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002166s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001341s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P35-12X%' OR `brand` LIKE 'P35-12X%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002426s ]