SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001576s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031330s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022300s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029527s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63228274 LIMIT 5 [ RunTime:0.076080s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228274 ORDER BY `minOrder` ASC [ RunTime:0.035897s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63228274 ORDER BY `unit` DESC [ RunTime:0.015972s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63228274 LIMIT 2 [ RunTime:0.041441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228274 ORDER BY `minOrder` ASC [ RunTime:0.036139s ]
select * from pdf where partno='HSCDANN150PAAA3' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.009058s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSCDANN150PAAA3' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.015546s ]
SELECT `id` FROM `stock` WHERE `id` <> 63228274 AND `partno` = 'HSCDANN150PAAA3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.022989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63233951 [ RunTime:0.036402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63233951 LIMIT 5 [ RunTime:0.053472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233951 ORDER BY `minOrder` ASC [ RunTime:0.052647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63233951 ORDER BY `unit` DESC [ RunTime:0.094957s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63233951 LIMIT 2 [ RunTime:0.015202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233951 ORDER BY `minOrder` ASC [ RunTime:0.057017s ]
select * from pdf where partno='HSCDANN150PAAA3' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.021117s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSCDANN150PAAA3' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.000637s ]
SELECT `id` FROM `stock` WHERE `id` <> 63233951 AND `partno` = 'HSCDANN150PAAA3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.047585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63228274 [ RunTime:0.016643s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032464s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060913s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039467s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.136368s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039466s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049869s ]
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 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031447s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HSCDANN150PAAA3%' OR `brand` LIKE 'HSCDANN150PAAA3%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.062699s ]