SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002571s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008146s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18798541 LIMIT 5 [ RunTime:0.005335s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18798541 ORDER BY `minOrder` ASC [ RunTime:0.002356s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18798541 ORDER BY `unit` DESC [ RunTime:0.003565s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002023s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18798541 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18798541 ORDER BY `minOrder` ASC [ RunTime:0.001342s ]
select * from pdf where partno='FSS015WNGB' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.004907s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32237717 LIMIT 5 [ RunTime:0.003694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32237717 ORDER BY `minOrder` ASC [ RunTime:0.006557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32237717 ORDER BY `unit` DESC [ RunTime:0.005429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32237717 LIMIT 2 [ RunTime:0.008894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32237717 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
select * from pdf where partno='fss015wngb' and brandshort='honeywell' limit 1 [ RunTime:0.001154s ]
select foldpath,foldpath2,filename from pdf_file where id=1047464 limit 1 [ RunTime:0.007413s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'fss015wngb' OR `brand` LIKE 'honeywell%' ) ) LIMIT 1 [ RunTime:0.011001s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64628200 LIMIT 5 [ RunTime:0.003165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64628200 ORDER BY `minOrder` ASC [ RunTime:0.001939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64628200 ORDER BY `unit` DESC [ RunTime:0.003622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64628200 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64628200 ORDER BY `minOrder` ASC [ RunTime:0.002493s ]
select * from pdf where partno='FSS015WNGB' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.000420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSS015WNGB' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.002098s ]
SELECT `id` FROM `stock` WHERE `id` <> 64628200 AND `partno` = 'FSS015WNGB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.003337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18798541 [ RunTime:0.000436s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000813s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000694s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000639s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002898s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002147s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003232s ]
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 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001192s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'fss015wngb%' OR `brand` LIKE 'fss015wngb%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001400s ]