SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002930s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086307s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.036456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13488158 LIMIT 5 [ RunTime:0.058680s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13488158 ORDER BY `minOrder` ASC [ RunTime:0.019964s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13488158 ORDER BY `unit` DESC [ RunTime:0.026617s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13488158 LIMIT 2 [ RunTime:0.019140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13488158 ORDER BY `minOrder` ASC [ RunTime:0.031551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485791 LIMIT 5 [ RunTime:0.030031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485791 ORDER BY `minOrder` ASC [ RunTime:0.027687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13485791 ORDER BY `unit` DESC [ RunTime:0.025606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13485791 LIMIT 2 [ RunTime:0.080984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485791 ORDER BY `minOrder` ASC [ RunTime:0.022025s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.020299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363023 LIMIT 5 [ RunTime:0.087434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363023 ORDER BY `minOrder` ASC [ RunTime:0.072105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363023 ORDER BY `unit` DESC [ RunTime:0.055398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363023 LIMIT 2 [ RunTime:0.098714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363023 ORDER BY `minOrder` ASC [ RunTime:0.064678s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.081474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363022 LIMIT 5 [ RunTime:0.097298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363022 ORDER BY `minOrder` ASC [ RunTime:0.089700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363022 ORDER BY `unit` DESC [ RunTime:0.141692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363022 LIMIT 2 [ RunTime:0.213058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363022 ORDER BY `minOrder` ASC [ RunTime:0.026592s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.020760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363021 LIMIT 5 [ RunTime:0.181070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363021 ORDER BY `minOrder` ASC [ RunTime:0.050521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363021 ORDER BY `unit` DESC [ RunTime:0.108682s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363021 LIMIT 2 [ RunTime:0.040485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363021 ORDER BY `minOrder` ASC [ RunTime:0.077830s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.009967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489262 LIMIT 5 [ RunTime:0.071021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489262 ORDER BY `minOrder` ASC [ RunTime:0.087755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489262 ORDER BY `unit` DESC [ RunTime:0.159947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489262 LIMIT 2 [ RunTime:0.064546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489262 ORDER BY `minOrder` ASC [ RunTime:0.149486s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.051171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489261 LIMIT 5 [ RunTime:0.081894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489261 ORDER BY `minOrder` ASC [ RunTime:0.081682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489261 ORDER BY `unit` DESC [ RunTime:0.075294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489261 LIMIT 2 [ RunTime:0.032673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489261 ORDER BY `minOrder` ASC [ RunTime:0.138614s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.034530s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.119702s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.146257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62993920 LIMIT 5 [ RunTime:0.107632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993920 ORDER BY `minOrder` ASC [ RunTime:0.231514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62993920 ORDER BY `unit` DESC [ RunTime:0.188127s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62993920 LIMIT 2 [ RunTime:0.155174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993920 ORDER BY `minOrder` ASC [ RunTime:0.018625s ]
select * from pdf where partno='3365/34 100' and brandshort='3M' limit 1 [ RunTime:0.051322s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3365/34 100' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.091339s ]
SELECT `id` FROM `stock` WHERE `id` <> 62993920 AND `partno` = '3365/34 100' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.031605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485791 [ RunTime:0.142172s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046865s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108996s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.121006s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097916s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079630s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116875s ]
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 '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.235598s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3365/34 100%' OR `brand` LIKE '3365/34 100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.174153s ]