SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002095s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003807s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054937 LIMIT 5 [ RunTime:0.025191s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.013329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12054937 ORDER BY `minOrder` ASC [ RunTime:0.001461s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12054937 ORDER BY `unit` DESC [ RunTime:0.003519s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12054937 LIMIT 2 [ RunTime:0.008836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12054937 ORDER BY `minOrder` ASC [ RunTime:0.013232s ]
select * from pdf where partno='TSCSNBN030PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.007666s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005548s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49416202 LIMIT 5 [ RunTime:0.003152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49416202 ORDER BY `minOrder` ASC [ RunTime:0.017150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49416202 ORDER BY `unit` DESC [ RunTime:0.005226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49416202 LIMIT 2 [ RunTime:0.012472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49416202 ORDER BY `minOrder` ASC [ RunTime:0.005112s ]
select * from pdf where partno='TSCSNBN030PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.002183s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSCSNBN030PDUCV' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.019195s ]
SELECT `id` FROM `stock` WHERE `id` <> 49416202 AND `partno` = 'TSCSNBN030PDUCV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.014530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054937 [ RunTime:0.010355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36610271 LIMIT 5 [ RunTime:0.001413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36610271 ORDER BY `minOrder` ASC [ RunTime:0.029950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36610271 ORDER BY `unit` DESC [ RunTime:0.027863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36610271 LIMIT 2 [ RunTime:0.010019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36610271 ORDER BY `minOrder` ASC [ RunTime:0.002953s ]
select * from pdf where partno='TSCSNBN030PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.003283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSCSNBN030PDUCV' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.000369s ]
SELECT `id` FROM `stock` WHERE `id` <> 36610271 AND `partno` = 'TSCSNBN030PDUCV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.005718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054937 [ RunTime:0.000214s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009620s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007984s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027525s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003913s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010702s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030628s ]
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 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033057s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TSCSNBN030PDUCV%' OR `brand` LIKE 'TSCSNBN030PDUCV%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012987s ]