SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002702s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.149091s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15435761 LIMIT 5 [ RunTime:0.093793s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.077845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15435761 ORDER BY `minOrder` ASC [ RunTime:0.073343s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.044487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15435761 ORDER BY `unit` DESC [ RunTime:0.045989s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15435761 LIMIT 2 [ RunTime:0.046926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15435761 ORDER BY `minOrder` ASC [ RunTime:0.061694s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089944s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51512543 LIMIT 5 [ RunTime:0.050654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51512543 ORDER BY `minOrder` ASC [ RunTime:0.053524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51512543 ORDER BY `unit` DESC [ RunTime:0.050978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51512543 LIMIT 2 [ RunTime:0.050555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51512543 ORDER BY `minOrder` ASC [ RunTime:0.050676s ]
select * from pdf where partno='V19S05-CZ050B01' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.051987s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V19S05-CZ050B01' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.050724s ]
SELECT `id` FROM `stock` WHERE `id` <> 51512543 AND `partno` = 'V19S05-CZ050B01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.047854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15435761 [ RunTime:0.181594s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108149s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051479s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051532s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.127803s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051696s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051733s ]
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 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.208637s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V19S05-CZ050B01%' OR `brand` LIKE 'V19S05-CZ050B01%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.071033s ]