SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002999s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063659s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838423 LIMIT 5 [ RunTime:0.030252s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.063188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838423 ORDER BY `minOrder` ASC [ RunTime:0.096117s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.031140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838423 ORDER BY `unit` DESC [ RunTime:0.113276s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.043690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838423 LIMIT 2 [ RunTime:0.023164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838423 ORDER BY `minOrder` ASC [ RunTime:0.076668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838414 LIMIT 5 [ RunTime:0.019643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838414 ORDER BY `minOrder` ASC [ RunTime:0.081864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838414 ORDER BY `unit` DESC [ RunTime:0.175958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838414 LIMIT 2 [ RunTime:0.085396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838414 ORDER BY `minOrder` ASC [ RunTime:0.038845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838402 LIMIT 5 [ RunTime:0.047039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838402 ORDER BY `minOrder` ASC [ RunTime:0.061237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838402 ORDER BY `unit` DESC [ RunTime:0.042011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838402 LIMIT 2 [ RunTime:0.079441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838402 ORDER BY `minOrder` ASC [ RunTime:0.020260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13937359 LIMIT 5 [ RunTime:0.028444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937359 ORDER BY `minOrder` ASC [ RunTime:0.062818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13937359 ORDER BY `unit` DESC [ RunTime:0.076133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13937359 LIMIT 2 [ RunTime:0.038890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937359 ORDER BY `minOrder` ASC [ RunTime:0.046913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13937348 LIMIT 5 [ RunTime:0.117576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937348 ORDER BY `minOrder` ASC [ RunTime:0.032836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13937348 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13937348 LIMIT 2 [ RunTime:0.073291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937348 ORDER BY `minOrder` ASC [ RunTime:0.039984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13937333 LIMIT 5 [ RunTime:0.117209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937333 ORDER BY `minOrder` ASC [ RunTime:0.066442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13937333 ORDER BY `unit` DESC [ RunTime:0.073465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13937333 LIMIT 2 [ RunTime:0.100959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937333 ORDER BY `minOrder` ASC [ RunTime:0.045818s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.094000s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41847239 LIMIT 5 [ RunTime:0.075736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847239 ORDER BY `minOrder` ASC [ RunTime:0.061962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41847239 ORDER BY `unit` DESC [ RunTime:0.057685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41847239 LIMIT 2 [ RunTime:0.141728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847239 ORDER BY `minOrder` ASC [ RunTime:0.025650s ]
select * from pdf where partno='221KH20J-FTR' and brandshort='YAGEO' limit 1 [ RunTime:0.049775s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-FTR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.083059s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41847233 LIMIT 5 [ RunTime:0.025151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847233 ORDER BY `minOrder` ASC [ RunTime:0.009645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41847233 ORDER BY `unit` DESC [ RunTime:0.135222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41847233 LIMIT 2 [ RunTime:0.145496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847233 ORDER BY `minOrder` ASC [ RunTime:0.035578s ]
select * from pdf where partno='221KH20J-FTB' and brandshort='YAGEO' limit 1 [ RunTime:0.062578s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-FTB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.079679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41847232 LIMIT 5 [ RunTime:0.105835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847232 ORDER BY `minOrder` ASC [ RunTime:0.174848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41847232 ORDER BY `unit` DESC [ RunTime:0.050982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41847232 LIMIT 2 [ RunTime:0.034793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847232 ORDER BY `minOrder` ASC [ RunTime:0.061705s ]
select * from pdf where partno='221KH20J-FP7.5TB' and brandshort='YAGEO' limit 1 [ RunTime:0.084573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-FP7.5TB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.108872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41847224 LIMIT 5 [ RunTime:0.194950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847224 ORDER BY `minOrder` ASC [ RunTime:0.086040s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41847224 ORDER BY `unit` DESC [ RunTime:0.205733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41847224 LIMIT 2 [ RunTime:0.035338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41847224 ORDER BY `minOrder` ASC [ RunTime:0.035873s ]
select * from pdf where partno='221KH20J-FP7.5TR' and brandshort='YAGEO' limit 1 [ RunTime:0.097870s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-FP7.5TR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.026854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41844154 LIMIT 5 [ RunTime:0.118223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41844154 ORDER BY `minOrder` ASC [ RunTime:0.123665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41844154 ORDER BY `unit` DESC [ RunTime:0.038068s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41844154 LIMIT 2 [ RunTime:0.047386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41844154 ORDER BY `minOrder` ASC [ RunTime:0.028987s ]
select * from pdf where partno='221KH20J-F' and brandshort='YAGEO' limit 1 [ RunTime:0.095517s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-F' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.091700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41844149 LIMIT 5 [ RunTime:0.079248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41844149 ORDER BY `minOrder` ASC [ RunTime:0.029953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41844149 ORDER BY `unit` DESC [ RunTime:0.076509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41844149 LIMIT 2 [ RunTime:0.031971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41844149 ORDER BY `minOrder` ASC [ RunTime:0.020583s ]
select * from pdf where partno='221KH20J-FP7.5' and brandshort='YAGEO' limit 1 [ RunTime:0.028342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '221KH20J-FP7.5' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.140389s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066329s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060400s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.106477s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.114388s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064191s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050051s ]
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 '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.124855s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '221KH20J-F%' OR `brand` LIKE '221KH20J-F%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.102734s ]