SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001683s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026943s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13275248 LIMIT 5 [ RunTime:0.058079s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13275248 ORDER BY `minOrder` ASC [ RunTime:0.046029s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13275248 ORDER BY `unit` DESC [ RunTime:0.035904s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13275248 LIMIT 2 [ RunTime:0.193011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13275248 ORDER BY `minOrder` ASC [ RunTime:0.092343s ]
select * from pdf where partno='135-503LAG-J01' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.039809s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51124406 LIMIT 5 [ RunTime:0.058149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51124406 ORDER BY `minOrder` ASC [ RunTime:0.082901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51124406 ORDER BY `unit` DESC [ RunTime:0.107158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51124406 LIMIT 2 [ RunTime:0.067394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51124406 ORDER BY `minOrder` ASC [ RunTime:0.059812s ]
select * from pdf where partno='135-503lag-j01' and brandshort='honeywell' limit 1 [ RunTime:0.064444s ]
select foldpath,foldpath2,filename from pdf_file where id=1679778 limit 1 [ RunTime:0.079573s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '135-503lag-j01' OR `brand` LIKE 'honeywell%' ) ) LIMIT 1 [ RunTime:0.110338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32248623 LIMIT 5 [ RunTime:0.024082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32248623 ORDER BY `minOrder` ASC [ RunTime:0.019980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32248623 ORDER BY `unit` DESC [ RunTime:0.052882s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32248623 LIMIT 2 [ RunTime:0.051253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32248623 ORDER BY `minOrder` ASC [ RunTime:0.008375s ]
select * from pdf where partno='135-503lag-j01' and brandshort='honeywell' limit 1 [ RunTime:0.004402s ]
select foldpath,foldpath2,filename from pdf_file where id=1679778 limit 1 [ RunTime:0.011493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '135-503lag-j01' OR `brand` LIKE 'honeywell%' ) ) LIMIT 1 [ RunTime:0.021800s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56390218 LIMIT 5 [ RunTime:0.025839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56390218 ORDER BY `minOrder` ASC [ RunTime:0.080828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56390218 ORDER BY `unit` DESC [ RunTime:0.049889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56390218 LIMIT 2 [ RunTime:0.087355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56390218 ORDER BY `minOrder` ASC [ RunTime:0.092816s ]
select * from pdf where partno='135-503LAG-J01' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.010454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '135-503LAG-J01' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.009534s ]
SELECT `id` FROM `stock` WHERE `id` <> 56390218 AND `partno` = '135-503LAG-J01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.015583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13275248 [ RunTime:0.016080s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019638s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007947s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007687s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003338s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005632s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006990s ]
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 '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018557s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '135-503lag-j01%' OR `brand` LIKE '135-503lag-j01%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.062353s ]