SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002670s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053008s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489444 LIMIT 5 [ RunTime:0.051142s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489444 ORDER BY `minOrder` ASC [ RunTime:0.062951s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.101814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489444 ORDER BY `unit` DESC [ RunTime:0.109333s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489444 LIMIT 2 [ RunTime:0.224442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489444 ORDER BY `minOrder` ASC [ RunTime:0.005492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13484523 LIMIT 5 [ RunTime:0.059857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13484523 ORDER BY `minOrder` ASC [ RunTime:0.048737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13484523 ORDER BY `unit` DESC [ RunTime:0.066279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13484523 LIMIT 2 [ RunTime:0.160107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13484523 ORDER BY `minOrder` ASC [ RunTime:0.103745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363048 LIMIT 5 [ RunTime:0.097729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363048 ORDER BY `minOrder` ASC [ RunTime:0.115838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363048 ORDER BY `unit` DESC [ RunTime:0.137470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363048 LIMIT 2 [ RunTime:0.226236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363048 ORDER BY `minOrder` ASC [ RunTime:0.106287s ]
select * from pdf where partno='3302/34 100' and brandshort='3M' limit 1 [ RunTime:0.033298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363047 LIMIT 5 [ RunTime:0.070977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363047 ORDER BY `minOrder` ASC [ RunTime:0.039553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363047 ORDER BY `unit` DESC [ RunTime:0.039959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363047 LIMIT 2 [ RunTime:0.080381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363047 ORDER BY `minOrder` ASC [ RunTime:0.038891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363046 LIMIT 5 [ RunTime:0.051135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363046 ORDER BY `minOrder` ASC [ RunTime:0.035173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363046 ORDER BY `unit` DESC [ RunTime:0.132244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363046 LIMIT 2 [ RunTime:0.072645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363046 ORDER BY `minOrder` ASC [ RunTime:0.051031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363045 LIMIT 5 [ RunTime:0.048666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363045 ORDER BY `minOrder` ASC [ RunTime:0.154159s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363045 ORDER BY `unit` DESC [ RunTime:0.215592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363045 LIMIT 2 [ RunTime:0.119486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363045 ORDER BY `minOrder` ASC [ RunTime:0.129924s ]
select * from pdf where partno='3302/34 100' and brandshort='3M' limit 1 [ RunTime:0.058524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489299 LIMIT 5 [ RunTime:0.051534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489299 ORDER BY `minOrder` ASC [ RunTime:0.201658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489299 ORDER BY `unit` DESC [ RunTime:0.103833s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489299 LIMIT 2 [ RunTime:0.086447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489299 ORDER BY `minOrder` ASC [ RunTime:0.038947s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485428 LIMIT 5 [ RunTime:0.058982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485428 ORDER BY `minOrder` ASC [ RunTime:0.161113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13485428 ORDER BY `unit` DESC [ RunTime:0.129991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13485428 LIMIT 2 [ RunTime:0.021809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485428 ORDER BY `minOrder` ASC [ RunTime:0.165838s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109080s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.111469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62993943 LIMIT 5 [ RunTime:0.120314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993943 ORDER BY `minOrder` ASC [ RunTime:0.115625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62993943 ORDER BY `unit` DESC [ RunTime:0.048980s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62993943 LIMIT 2 [ RunTime:0.054373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993943 ORDER BY `minOrder` ASC [ RunTime:0.082495s ]
select * from pdf where partno='3302/34 100' and brandshort='3M' limit 1 [ RunTime:0.050587s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3302/34 100' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.049763s ]
SELECT `id` FROM `stock` WHERE `id` <> 62993943 AND `partno` = '3302/34 100' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.109194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13484523 [ RunTime:0.105556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62994725 LIMIT 5 [ RunTime:0.114105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62994725 ORDER BY `minOrder` ASC [ RunTime:0.077727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62994725 ORDER BY `unit` DESC [ RunTime:0.071217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62994725 LIMIT 2 [ RunTime:0.026480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62994725 ORDER BY `minOrder` ASC [ RunTime:0.042018s ]
select * from pdf where partno='3302/34 100SF' and brandshort='3M' limit 1 [ RunTime:0.073863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3302/34 100SF' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.078601s ]
SELECT `id` FROM `stock` WHERE `id` <> 62994725 AND `partno` = '3302/34 100SF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.169312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485428 [ RunTime:0.095002s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080788s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057191s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.134728s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093101s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025801s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053616s ]
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 '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105845s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3302/34 100%' OR `brand` LIKE '3302/34 100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.194901s ]