SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002703s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078586s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019697s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046638s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50866261 LIMIT 5 [ RunTime:0.087926s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50866261 ORDER BY `minOrder` ASC [ RunTime:0.029459s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50866261 ORDER BY `unit` DESC [ RunTime:0.019884s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50866261 LIMIT 2 [ RunTime:0.032806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50866261 ORDER BY `minOrder` ASC [ RunTime:0.047152s ]
select * from pdf where partno='MER00750PGYVKCAA15' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.018162s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MER00750PGYVKCAA15' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.008376s ]
SELECT `id` FROM `stock` WHERE `id` <> 50866261 AND `partno` = 'MER00750PGYVKCAA15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.061100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38336629 [ RunTime:0.052140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38336629 LIMIT 5 [ RunTime:0.029571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38336629 ORDER BY `minOrder` ASC [ RunTime:0.059000s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38336629 ORDER BY `unit` DESC [ RunTime:0.043760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38336629 LIMIT 2 [ RunTime:0.026013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38336629 ORDER BY `minOrder` ASC [ RunTime:0.014330s ]
select * from pdf where partno='MER00750PGYVKCAA15' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.048074s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MER00750PGYVKCAA15' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.041349s ]
SELECT `id` FROM `stock` WHERE `id` <> 38336629 AND `partno` = 'MER00750PGYVKCAA15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.086676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50866261 [ RunTime:0.071672s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.113338s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053315s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078987s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049754s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016891s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086170s ]
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 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086273s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MER00750PGYVKCAA15%' OR `brand` LIKE 'MER00750PGYVKCAA15%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.163841s ]