SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001299s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023967s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410580 LIMIT 5 [ RunTime:0.026098s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410580 ORDER BY `minOrder` ASC [ RunTime:0.026827s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16410580 ORDER BY `unit` DESC [ RunTime:0.013099s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16410580 LIMIT 2 [ RunTime:0.030344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410580 ORDER BY `minOrder` ASC [ RunTime:0.007868s ]
select * from pdf where partno='1554216010' and brandshort='Molex' limit 1 [ RunTime:0.009286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14377292 LIMIT 5 [ RunTime:0.024371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14377292 ORDER BY `minOrder` ASC [ RunTime:0.037844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14377292 ORDER BY `unit` DESC [ RunTime:0.021368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14377292 LIMIT 2 [ RunTime:0.050432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14377292 ORDER BY `minOrder` ASC [ RunTime:0.019131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14377291 LIMIT 5 [ RunTime:0.084839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14377291 ORDER BY `minOrder` ASC [ RunTime:0.034786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14377291 ORDER BY `unit` DESC [ RunTime:0.012771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14377291 LIMIT 2 [ RunTime:0.095286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14377291 ORDER BY `minOrder` ASC [ RunTime:0.037560s ]
select * from pdf where partno='1554216010' and brandshort='Molex' limit 1 [ RunTime:0.009141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502404 LIMIT 5 [ RunTime:0.017321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502404 ORDER BY `minOrder` ASC [ RunTime:0.073885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502404 ORDER BY `unit` DESC [ RunTime:0.020425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502404 LIMIT 2 [ RunTime:0.044227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502404 ORDER BY `minOrder` ASC [ RunTime:0.042210s ]
select * from pdf where partno='1554216010' and brandshort='Molex' limit 1 [ RunTime:0.014989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502403 LIMIT 5 [ RunTime:0.039872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502403 ORDER BY `minOrder` ASC [ RunTime:0.015722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502403 ORDER BY `unit` DESC [ RunTime:0.006444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502403 LIMIT 2 [ RunTime:0.008871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502403 ORDER BY `minOrder` ASC [ RunTime:0.027904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502402 LIMIT 5 [ RunTime:0.044106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502402 ORDER BY `minOrder` ASC [ RunTime:0.032169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502402 ORDER BY `unit` DESC [ RunTime:0.027088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502402 LIMIT 2 [ RunTime:0.028573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502402 ORDER BY `minOrder` ASC [ RunTime:0.024250s ]
select * from pdf where partno='1554216010' and brandshort='Molex' limit 1 [ RunTime:0.003818s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034950s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63038516 LIMIT 5 [ RunTime:0.019185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63038516 ORDER BY `minOrder` ASC [ RunTime:0.018095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63038516 ORDER BY `unit` DESC [ RunTime:0.050931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63038516 LIMIT 2 [ RunTime:0.007193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63038516 ORDER BY `minOrder` ASC [ RunTime:0.001472s ]
select * from pdf where partno='1554216010' and brandshort='Molex' limit 1 [ RunTime:0.006162s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001619s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1554216010' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.032287s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020482s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020425s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004962s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014738s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007342s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008452s ]
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 '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007152s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554216010%' OR `brand` LIKE '1554216010%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007037s ]