SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002519s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025912s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14835317 LIMIT 5 [ RunTime:0.005257s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835317 ORDER BY `minOrder` ASC [ RunTime:0.009930s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14835317 ORDER BY `unit` DESC [ RunTime:0.009345s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005111s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14835317 LIMIT 2 [ RunTime:0.032181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835317 ORDER BY `minOrder` ASC [ RunTime:0.009482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14835291 LIMIT 5 [ RunTime:0.023672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835291 ORDER BY `minOrder` ASC [ RunTime:0.011320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14835291 ORDER BY `unit` DESC [ RunTime:0.018524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14835291 LIMIT 2 [ RunTime:0.009740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835291 ORDER BY `minOrder` ASC [ RunTime:0.001834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14834758 LIMIT 5 [ RunTime:0.021195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834758 ORDER BY `minOrder` ASC [ RunTime:0.018749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14834758 ORDER BY `unit` DESC [ RunTime:0.030120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14834758 LIMIT 2 [ RunTime:0.002354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834758 ORDER BY `minOrder` ASC [ RunTime:0.002444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14834615 LIMIT 5 [ RunTime:0.025702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834615 ORDER BY `minOrder` ASC [ RunTime:0.048408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14834615 ORDER BY `unit` DESC [ RunTime:0.044416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14834615 LIMIT 2 [ RunTime:0.033763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834615 ORDER BY `minOrder` ASC [ RunTime:0.013711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14834606 LIMIT 5 [ RunTime:0.027405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834606 ORDER BY `minOrder` ASC [ RunTime:0.017495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14834606 ORDER BY `unit` DESC [ RunTime:0.072773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14834606 LIMIT 2 [ RunTime:0.038311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834606 ORDER BY `minOrder` ASC [ RunTime:0.019799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13933789 LIMIT 5 [ RunTime:0.024523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13933789 ORDER BY `minOrder` ASC [ RunTime:0.033129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13933789 ORDER BY `unit` DESC [ RunTime:0.023114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13933789 LIMIT 2 [ RunTime:0.013838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13933789 ORDER BY `minOrder` ASC [ RunTime:0.027725s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060038s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41829632 LIMIT 5 [ RunTime:0.024197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829632 ORDER BY `minOrder` ASC [ RunTime:0.024527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41829632 ORDER BY `unit` DESC [ RunTime:0.013944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41829632 LIMIT 2 [ RunTime:0.015881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829632 ORDER BY `minOrder` ASC [ RunTime:0.003711s ]
select * from pdf where partno='101KH14-OTR' and brandshort='YAGEO' limit 1 [ RunTime:0.007186s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002994s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-OTR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.011455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41829630 LIMIT 5 [ RunTime:0.009278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829630 ORDER BY `minOrder` ASC [ RunTime:0.005964s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41829630 ORDER BY `unit` DESC [ RunTime:0.020977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41829630 LIMIT 2 [ RunTime:0.017335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829630 ORDER BY `minOrder` ASC [ RunTime:0.002755s ]
select * from pdf where partno='101KH14-OP10TR' and brandshort='YAGEO' limit 1 [ RunTime:0.003513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-OP10TR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.010423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41829628 LIMIT 5 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829628 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41829628 ORDER BY `unit` DESC [ RunTime:0.009847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41829628 LIMIT 2 [ RunTime:0.005381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829628 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='101KH14-OTB' and brandshort='YAGEO' limit 1 [ RunTime:0.010489s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-OTB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.004457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41829626 LIMIT 5 [ RunTime:0.011104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829626 ORDER BY `minOrder` ASC [ RunTime:0.009124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41829626 ORDER BY `unit` DESC [ RunTime:0.004274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41829626 LIMIT 2 [ RunTime:0.003335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41829626 ORDER BY `minOrder` ASC [ RunTime:0.003981s ]
select * from pdf where partno='101KH14-OP10TB' and brandshort='YAGEO' limit 1 [ RunTime:0.001935s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-OP10TB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.006522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41826226 LIMIT 5 [ RunTime:0.001299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41826226 ORDER BY `minOrder` ASC [ RunTime:0.008997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41826226 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41826226 LIMIT 2 [ RunTime:0.002347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41826226 ORDER BY `minOrder` ASC [ RunTime:0.003461s ]
select * from pdf where partno='101KH14-O' and brandshort='YAGEO' limit 1 [ RunTime:0.004331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-O' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.003058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41826224 LIMIT 5 [ RunTime:0.003922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41826224 ORDER BY `minOrder` ASC [ RunTime:0.005050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41826224 ORDER BY `unit` DESC [ RunTime:0.008095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41826224 LIMIT 2 [ RunTime:0.005196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41826224 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='101KH14-OP10' and brandshort='YAGEO' limit 1 [ RunTime:0.000608s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH14-OP10' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.005255s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008679s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005420s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001429s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008619s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004440s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008517s ]
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 '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009091s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '101KH14-O%' OR `brand` LIKE '101KH14-O%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010407s ]