SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002092s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004221s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838087 LIMIT 5 [ RunTime:0.007413s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838087 ORDER BY `minOrder` ASC [ RunTime:0.014751s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838087 ORDER BY `unit` DESC [ RunTime:0.015360s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838087 LIMIT 2 [ RunTime:0.032535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838087 ORDER BY `minOrder` ASC [ RunTime:0.015910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14837589 LIMIT 5 [ RunTime:0.077728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14837589 ORDER BY `minOrder` ASC [ RunTime:0.017979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14837589 ORDER BY `unit` DESC [ RunTime:0.020014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14837589 LIMIT 2 [ RunTime:0.038090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14837589 ORDER BY `minOrder` ASC [ RunTime:0.039201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13937020 LIMIT 5 [ RunTime:0.048935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937020 ORDER BY `minOrder` ASC [ RunTime:0.028270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13937020 ORDER BY `unit` DESC [ RunTime:0.067573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13937020 LIMIT 2 [ RunTime:0.056469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937020 ORDER BY `minOrder` ASC [ RunTime:0.043072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13936558 LIMIT 5 [ RunTime:0.031493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936558 ORDER BY `minOrder` ASC [ RunTime:0.041967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13936558 ORDER BY `unit` DESC [ RunTime:0.034513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13936558 LIMIT 2 [ RunTime:0.081282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936558 ORDER BY `minOrder` ASC [ RunTime:0.040574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13936554 LIMIT 5 [ RunTime:0.017759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936554 ORDER BY `minOrder` ASC [ RunTime:0.026242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13936554 ORDER BY `unit` DESC [ RunTime:0.014286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13936554 LIMIT 2 [ RunTime:0.091710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936554 ORDER BY `minOrder` ASC [ RunTime:0.020094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13936534 LIMIT 5 [ RunTime:0.069907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936534 ORDER BY `minOrder` ASC [ RunTime:0.089930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13936534 ORDER BY `unit` DESC [ RunTime:0.072021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13936534 LIMIT 2 [ RunTime:0.004628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936534 ORDER BY `minOrder` ASC [ RunTime:0.003892s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022364s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41837572 LIMIT 5 [ RunTime:0.046098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837572 ORDER BY `minOrder` ASC [ RunTime:0.041247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41837572 ORDER BY `unit` DESC [ RunTime:0.040330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41837572 LIMIT 2 [ RunTime:0.066231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837572 ORDER BY `minOrder` ASC [ RunTime:0.028291s ]
select * from pdf where partno='151KD20J-FTB' and brandshort='YAGEO' limit 1 [ RunTime:0.038866s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-FTB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.048676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41837571 LIMIT 5 [ RunTime:0.032765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837571 ORDER BY `minOrder` ASC [ RunTime:0.013154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41837571 ORDER BY `unit` DESC [ RunTime:0.032652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41837571 LIMIT 2 [ RunTime:0.024243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837571 ORDER BY `minOrder` ASC [ RunTime:0.005857s ]
select * from pdf where partno='151KD20J-FP7.5TB' and brandshort='YAGEO' limit 1 [ RunTime:0.024591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-FP7.5TB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.031377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41837567 LIMIT 5 [ RunTime:0.007401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837567 ORDER BY `minOrder` ASC [ RunTime:0.012558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41837567 ORDER BY `unit` DESC [ RunTime:0.013635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41837567 LIMIT 2 [ RunTime:0.022876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837567 ORDER BY `minOrder` ASC [ RunTime:0.016493s ]
select * from pdf where partno='151KD20J-FP7.5TR' and brandshort='YAGEO' limit 1 [ RunTime:0.004878s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-FP7.5TR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.002680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41837560 LIMIT 5 [ RunTime:0.010409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837560 ORDER BY `minOrder` ASC [ RunTime:0.001316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41837560 ORDER BY `unit` DESC [ RunTime:0.006264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41837560 LIMIT 2 [ RunTime:0.017988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41837560 ORDER BY `minOrder` ASC [ RunTime:0.017785s ]
select * from pdf where partno='151KD20J-FTR' and brandshort='YAGEO' limit 1 [ RunTime:0.017572s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-FTR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.003432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41834431 LIMIT 5 [ RunTime:0.007187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41834431 ORDER BY `minOrder` ASC [ RunTime:0.018333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41834431 ORDER BY `unit` DESC [ RunTime:0.040138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41834431 LIMIT 2 [ RunTime:0.051326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41834431 ORDER BY `minOrder` ASC [ RunTime:0.007433s ]
select * from pdf where partno='151KD20J-FP7.5' and brandshort='YAGEO' limit 1 [ RunTime:0.011246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-FP7.5' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.031056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41834425 LIMIT 5 [ RunTime:0.004689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41834425 ORDER BY `minOrder` ASC [ RunTime:0.018561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41834425 ORDER BY `unit` DESC [ RunTime:0.036166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41834425 LIMIT 2 [ RunTime:0.033607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41834425 ORDER BY `minOrder` ASC [ RunTime:0.000773s ]
select * from pdf where partno='151KD20J-F' and brandshort='YAGEO' limit 1 [ RunTime:0.025585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151KD20J-F' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.034611s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048103s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029104s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026442s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023575s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042753s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049772s ]
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 '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040613s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '151KD20J-F%' OR `brand` LIKE '151KD20J-F%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.026713s ]