SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003109s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.083922s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715983 LIMIT 5 [ RunTime:0.085852s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18715983 ORDER BY `minOrder` ASC [ RunTime:0.034442s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18715983 ORDER BY `unit` DESC [ RunTime:0.041796s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.027184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18715983 LIMIT 2 [ RunTime:0.132337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18715983 ORDER BY `minOrder` ASC [ RunTime:0.069319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13459403 LIMIT 5 [ RunTime:0.073127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13459403 ORDER BY `minOrder` ASC [ RunTime:0.107828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13459403 ORDER BY `unit` DESC [ RunTime:0.058118s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13459403 LIMIT 2 [ RunTime:0.086043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13459403 ORDER BY `minOrder` ASC [ RunTime:0.049294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12056212 LIMIT 5 [ RunTime:0.065130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12056212 ORDER BY `minOrder` ASC [ RunTime:0.068863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12056212 ORDER BY `unit` DESC [ RunTime:0.064286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12056212 LIMIT 2 [ RunTime:0.086534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12056212 ORDER BY `minOrder` ASC [ RunTime:0.113046s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.090847s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50620722 LIMIT 5 [ RunTime:0.065805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50620722 ORDER BY `minOrder` ASC [ RunTime:0.062216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50620722 ORDER BY `unit` DESC [ RunTime:0.092975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50620722 LIMIT 2 [ RunTime:0.047066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50620722 ORDER BY `minOrder` ASC [ RunTime:0.106946s ]
select * from pdf where partno='873240' and brandshort='3M' limit 1 [ RunTime:0.078998s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873240' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.052887s ]
SELECT `id` FROM `stock` WHERE `id` <> 50620722 AND `partno` = '873240' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.036445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715983 [ RunTime:0.039943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49418329 LIMIT 5 [ RunTime:0.034478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49418329 ORDER BY `minOrder` ASC [ RunTime:0.044688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49418329 ORDER BY `unit` DESC [ RunTime:0.049959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49418329 LIMIT 2 [ RunTime:0.092530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49418329 ORDER BY `minOrder` ASC [ RunTime:0.000860s ]
select * from pdf where partno='87324-05' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.052435s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87324-05' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.085708s ]
SELECT `id` FROM `stock` WHERE `id` <> 49418329 AND `partno` = '87324-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.120094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12056212 [ RunTime:0.021054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37950028 LIMIT 5 [ RunTime:0.048162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37950028 ORDER BY `minOrder` ASC [ RunTime:0.082842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37950028 ORDER BY `unit` DESC [ RunTime:0.085827s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37950028 LIMIT 2 [ RunTime:0.112589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37950028 ORDER BY `minOrder` ASC [ RunTime:0.074826s ]
select * from pdf where partno='873240' and brandshort='3M' limit 1 [ RunTime:0.037099s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873240' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.189713s ]
SELECT `id` FROM `stock` WHERE `id` <> 37950028 AND `partno` = '873240' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.112868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715983 [ RunTime:0.027258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36612240 LIMIT 5 [ RunTime:0.146162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36612240 ORDER BY `minOrder` ASC [ RunTime:0.037061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36612240 ORDER BY `unit` DESC [ RunTime:0.104544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36612240 LIMIT 2 [ RunTime:0.124304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36612240 ORDER BY `minOrder` ASC [ RunTime:0.138586s ]
select * from pdf where partno='87324-05' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.058191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87324-05' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.026582s ]
SELECT `id` FROM `stock` WHERE `id` <> 36612240 AND `partno` = '87324-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.052716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12056212 [ RunTime:0.019843s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042630s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029199s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087948s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033835s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.151981s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077379s ]
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 '87324%' OR `brand` LIKE '87324%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019404s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '87324%' OR `brand` LIKE '87324%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.061025s ]