SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003047s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040293s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13333728 LIMIT 5 [ RunTime:0.032855s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13333728 ORDER BY `minOrder` ASC [ RunTime:0.034194s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002040s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13333728 ORDER BY `unit` DESC [ RunTime:0.057716s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002067s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13333728 LIMIT 2 [ RunTime:0.017592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13333728 ORDER BY `minOrder` ASC [ RunTime:0.018557s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033011s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63228087 LIMIT 5 [ RunTime:0.031962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228087 ORDER BY `minOrder` ASC [ RunTime:0.041961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63228087 ORDER BY `unit` DESC [ RunTime:0.034299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63228087 LIMIT 2 [ RunTime:0.022639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63228087 ORDER BY `minOrder` ASC [ RunTime:0.016987s ]
select * from pdf where partno='MPRSF0030PG00001B' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.096264s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPRSF0030PG00001B' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.031809s ]
SELECT `id` FROM `stock` WHERE `id` <> 63228087 AND `partno` = 'MPRSF0030PG00001B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.034956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13333728 [ RunTime:0.013855s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63233268 LIMIT 5 [ RunTime:0.042323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233268 ORDER BY `minOrder` ASC [ RunTime:0.072779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63233268 ORDER BY `unit` DESC [ RunTime:0.030645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63233268 LIMIT 2 [ RunTime:0.066139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63233268 ORDER BY `minOrder` ASC [ RunTime:0.033290s ]
select * from pdf where partno='MPRSF0030PG00001B' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.013575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPRSF0030PG00001B' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.026075s ]
SELECT `id` FROM `stock` WHERE `id` <> 63233268 AND `partno` = 'MPRSF0030PG00001B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.029411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13333728 [ RunTime:0.029750s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042986s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038900s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005186s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057699s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034514s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028577s ]
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 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026120s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPRSF0030PG00001B%' OR `brand` LIKE 'MPRSF0030PG00001B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.011711s ]