SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001275s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007708s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18814245 LIMIT 5 [ RunTime:0.028787s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18814245 ORDER BY `minOrder` ASC [ RunTime:0.002494s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18814245 ORDER BY `unit` DESC [ RunTime:0.037525s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005119s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18814245 LIMIT 2 [ RunTime:0.026402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18814245 ORDER BY `minOrder` ASC [ RunTime:0.008435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17017032 LIMIT 5 [ RunTime:0.033560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17017032 ORDER BY `minOrder` ASC [ RunTime:0.048478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17017032 ORDER BY `unit` DESC [ RunTime:0.007433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17017032 LIMIT 2 [ RunTime:0.034201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17017032 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51080736 LIMIT 5 [ RunTime:0.028504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51080736 ORDER BY `minOrder` ASC [ RunTime:0.014781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51080736 ORDER BY `unit` DESC [ RunTime:0.008237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51080736 LIMIT 2 [ RunTime:0.031567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51080736 ORDER BY `minOrder` ASC [ RunTime:0.001890s ]
select * from pdf where partno='bwa-pressure-sensor-500' and brandshort='banner engineering' limit 1 [ RunTime:0.030945s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'bwa-pressure-sensor-500' OR `brand` LIKE 'banner engineering%' ) ) LIMIT 1 [ RunTime:0.017142s ]
SELECT `id` FROM `stock` WHERE `id` <> 51080736 AND `partno` = 'bwa-pressure-sensor-500' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering%' ) [ RunTime:0.015627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18814245 [ RunTime:0.011907s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64708946 LIMIT 5 [ RunTime:0.015929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64708946 ORDER BY `minOrder` ASC [ RunTime:0.015143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64708946 ORDER BY `unit` DESC [ RunTime:0.010517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64708946 LIMIT 2 [ RunTime:0.015577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64708946 ORDER BY `minOrder` ASC [ RunTime:0.001864s ]
select * from pdf where partno='BWA-PRESSURE-SENSOR-500' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.012133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BWA-PRESSURE-SENSOR-500' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.011508s ]
SELECT `id` FROM `stock` WHERE `id` <> 64708946 AND `partno` = 'BWA-PRESSURE-SENSOR-500' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.011918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18814245 [ RunTime:0.005294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64708944 LIMIT 5 [ RunTime:0.012135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64708944 ORDER BY `minOrder` ASC [ RunTime:0.001295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64708944 ORDER BY `unit` DESC [ RunTime:0.007035s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64708944 LIMIT 2 [ RunTime:0.023240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64708944 ORDER BY `minOrder` ASC [ RunTime:0.005187s ]
select * from pdf where partno='BWA-PRESSURE-SENSOR-50' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.007038s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BWA-PRESSURE-SENSOR-50' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.009014s ]
SELECT `id` FROM `stock` WHERE `id` <> 64708944 AND `partno` = 'BWA-PRESSURE-SENSOR-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.000966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17017032 [ RunTime:0.011222s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005702s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004169s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002521s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001152s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001402s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001942s ]
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 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001279s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BWA-PRESSURE-SENSOR-50%' OR `brand` LIKE 'BWA-PRESSURE-SENSOR-50%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001094s ]