SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002735s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059813s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.175223s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.140099s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.104639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63323708 LIMIT 5 [ RunTime:0.063655s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63323708 ORDER BY `minOrder` ASC [ RunTime:0.233260s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.025055s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63323708 ORDER BY `unit` DESC [ RunTime:0.022234s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63323708 LIMIT 2 [ RunTime:0.060244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63323708 ORDER BY `minOrder` ASC [ RunTime:0.010026s ]
select * from pdf where partno='FF6-20-DC-03-SS' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.152523s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FF6-20-DC-03-SS' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.112472s ]
SELECT `id` FROM `stock` WHERE `id` <> 63323708 AND `partno` = 'FF6-20-DC-03-SS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.051721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63323700 LIMIT 5 [ RunTime:0.192870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63323700 ORDER BY `minOrder` ASC [ RunTime:0.123860s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63323700 ORDER BY `unit` DESC [ RunTime:0.066857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63323700 LIMIT 2 [ RunTime:0.059962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63323700 ORDER BY `minOrder` ASC [ RunTime:0.024173s ]
select * from pdf where partno='FF6-20-DC-03' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.032250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FF6-20-DC-03' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.020371s ]
SELECT `id` FROM `stock` WHERE `id` <> 63323700 AND `partno` = 'FF6-20-DC-03' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.071386s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086270s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128475s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046620s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102254s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038598s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069890s ]
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 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088757s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FF6-20-DC-03%' OR `brand` LIKE 'FF6-20-DC-03%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.083694s ]