SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001640s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036572s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019708s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038668s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.017207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63228279 LIMIT 5 [ RunTime:0.019927s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228279 ORDER BY `minOrder` ASC [ RunTime:0.006703s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63228279 ORDER BY `unit` DESC [ RunTime:0.003348s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63228279 LIMIT 2 [ RunTime:0.013022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228279 ORDER BY `minOrder` ASC [ RunTime:0.006734s ]
select * from pdf where partno='HSCDANN015PAAA3' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.002700s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSCDANN015PAAA3' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.003989s ]
SELECT `id` FROM `stock` WHERE `id` <> 63228279 AND `partno` = 'HSCDANN015PAAA3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63233948 [ RunTime:0.004390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63233948 LIMIT 5 [ RunTime:0.003185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233948 ORDER BY `minOrder` ASC [ RunTime:0.012320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63233948 ORDER BY `unit` DESC [ RunTime:0.005562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63233948 LIMIT 2 [ RunTime:0.007087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233948 ORDER BY `minOrder` ASC [ RunTime:0.020729s ]
select * from pdf where partno='HSCDANN015PAAA3' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.011749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSCDANN015PAAA3' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.001180s ]
SELECT `id` FROM `stock` WHERE `id` <> 63233948 AND `partno` = 'HSCDANN015PAAA3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.004412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63228279 [ RunTime:0.002891s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013775s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020104s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007064s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018345s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048271s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015664s ]
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 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042056s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HSCDANN015PAAA3%' OR `brand` LIKE 'HSCDANN015PAAA3%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014795s ]