SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002512s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019981s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14407057 LIMIT 5 [ RunTime:0.017197s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14407057 ORDER BY `minOrder` ASC [ RunTime:0.027565s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14407057 ORDER BY `unit` DESC [ RunTime:0.015392s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14407057 LIMIT 2 [ RunTime:0.006407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14407057 ORDER BY `minOrder` ASC [ RunTime:0.012438s ]
select * from pdf where partno='LC134 BK088' and brandshort='Alpha Wire' limit 1 [ RunTime:0.013813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13536482 LIMIT 5 [ RunTime:0.045347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13536482 ORDER BY `minOrder` ASC [ RunTime:0.014810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13536482 ORDER BY `unit` DESC [ RunTime:0.011793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13536482 LIMIT 2 [ RunTime:0.013275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13536482 ORDER BY `minOrder` ASC [ RunTime:0.027615s ]
select * from pdf where partno='LC134 WH088' and brandshort='Alpha Wire' limit 1 [ RunTime:0.037567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13537617 LIMIT 5 [ RunTime:0.005277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13537617 ORDER BY `minOrder` ASC [ RunTime:0.018715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13537617 ORDER BY `unit` DESC [ RunTime:0.027412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13537617 LIMIT 2 [ RunTime:0.059088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13537617 ORDER BY `minOrder` ASC [ RunTime:0.023196s ]
select * from pdf where partno='LC134' and brandshort='Alpha Wire' limit 1 [ RunTime:0.047674s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062487s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56273156 LIMIT 5 [ RunTime:0.028768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56273156 ORDER BY `minOrder` ASC [ RunTime:0.030115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56273156 ORDER BY `unit` DESC [ RunTime:0.031572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56273156 LIMIT 2 [ RunTime:0.026716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56273156 ORDER BY `minOrder` ASC [ RunTime:0.008099s ]
select * from pdf where partno='LC134 BK088' and brandshort='Alpha Wire' limit 1 [ RunTime:0.016234s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002489s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC134 BK088' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.054672s ]
SELECT `id` FROM `stock` WHERE `id` <> 56273156 AND `partno` = 'LC134 BK088' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.033829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14407057 [ RunTime:0.010749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56274495 LIMIT 5 [ RunTime:0.026215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56274495 ORDER BY `minOrder` ASC [ RunTime:0.015480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56274495 ORDER BY `unit` DESC [ RunTime:0.020544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56274495 LIMIT 2 [ RunTime:0.011265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56274495 ORDER BY `minOrder` ASC [ RunTime:0.003899s ]
select * from pdf where partno='LC134 WH088' and brandshort='Alpha Wire' limit 1 [ RunTime:0.006548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC134 WH088' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.008512s ]
SELECT `id` FROM `stock` WHERE `id` <> 56274495 AND `partno` = 'LC134 WH088' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.007020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13536482 [ RunTime:0.016697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56278162 LIMIT 5 [ RunTime:0.014775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56278162 ORDER BY `minOrder` ASC [ RunTime:0.023789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56278162 ORDER BY `unit` DESC [ RunTime:0.002719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56278162 LIMIT 2 [ RunTime:0.012893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56278162 ORDER BY `minOrder` ASC [ RunTime:0.008565s ]
select * from pdf where partno='LC134' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000674s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC134' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000945s ]
SELECT `id` FROM `stock` WHERE `id` <> 56278162 AND `partno` = 'LC134' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.016387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13537617 [ RunTime:0.011164s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016745s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004234s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007790s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012132s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011982s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002484s ]
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 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008955s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'LC134%' OR `brand` LIKE 'LC134%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001107s ]