SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001314s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000917s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420105 LIMIT 5 [ RunTime:0.000891s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420105 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16420105 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001134s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16420105 LIMIT 2 [ RunTime:0.001075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420105 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393917 LIMIT 5 [ RunTime:0.005086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12393917 ORDER BY `minOrder` ASC [ RunTime:0.003264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12393917 ORDER BY `unit` DESC [ RunTime:0.011444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12393917 LIMIT 2 [ RunTime:0.002572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12393917 ORDER BY `minOrder` ASC [ RunTime:0.005360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12060756 LIMIT 5 [ RunTime:0.011182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12060756 ORDER BY `minOrder` ASC [ RunTime:0.007279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12060756 ORDER BY `unit` DESC [ RunTime:0.011502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12060756 LIMIT 2 [ RunTime:0.000708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12060756 ORDER BY `minOrder` ASC [ RunTime:0.008016s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009247s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49357514 LIMIT 5 [ RunTime:0.001854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49357514 ORDER BY `minOrder` ASC [ RunTime:0.004391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49357514 ORDER BY `unit` DESC [ RunTime:0.011723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49357514 LIMIT 2 [ RunTime:0.003318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49357514 ORDER BY `minOrder` ASC [ RunTime:0.003875s ]
select * from pdf where partno='56108' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.006189s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56108' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.002009s ]
SELECT `id` FROM `stock` WHERE `id` <> 49357514 AND `partno` = '56108' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%klein tools, inc.%' ) [ RunTime:0.001807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420105 [ RunTime:0.016696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36549423 LIMIT 5 [ RunTime:0.021818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36549423 ORDER BY `minOrder` ASC [ RunTime:0.030200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36549423 ORDER BY `unit` DESC [ RunTime:0.013553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36549423 LIMIT 2 [ RunTime:0.040793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36549423 ORDER BY `minOrder` ASC [ RunTime:0.016650s ]
select * from pdf where partno='56108' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.021041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56108' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.005474s ]
SELECT `id` FROM `stock` WHERE `id` <> 36549423 AND `partno` = '56108' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%klein tools, inc.%' ) [ RunTime:0.049891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420105 [ RunTime:0.012306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50242740 LIMIT 5 [ RunTime:0.025834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50242740 ORDER BY `minOrder` ASC [ RunTime:0.009378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50242740 ORDER BY `unit` DESC [ RunTime:0.009534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50242740 LIMIT 2 [ RunTime:0.035918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50242740 ORDER BY `minOrder` ASC [ RunTime:0.019165s ]
select * from pdf where partno='56108' and brandshort='Kitronik Ltd.' limit 1 [ RunTime:0.011312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56108' OR `brand` LIKE 'Kitronik Ltd.%' ) ) LIMIT 1 [ RunTime:0.008520s ]
SELECT `id` FROM `stock` WHERE `id` <> 50242740 AND `partno` = '56108' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%kitronik ltd.%' ) [ RunTime:0.034043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393917 [ RunTime:0.034741s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37439775 LIMIT 5 [ RunTime:0.042078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37439775 ORDER BY `minOrder` ASC [ RunTime:0.041785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37439775 ORDER BY `unit` DESC [ RunTime:0.017484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37439775 LIMIT 2 [ RunTime:0.022155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37439775 ORDER BY `minOrder` ASC [ RunTime:0.009296s ]
select * from pdf where partno='56108' and brandshort='Kitronik Ltd.' limit 1 [ RunTime:0.011390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56108' OR `brand` LIKE 'Kitronik Ltd.%' ) ) LIMIT 1 [ RunTime:0.011553s ]
SELECT `id` FROM `stock` WHERE `id` <> 37439775 AND `partno` = '56108' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%kitronik ltd.%' ) [ RunTime:0.004114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393917 [ RunTime:0.011722s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038858s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015308s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027842s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028300s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048507s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037733s ]
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 '56108%' OR `brand` LIKE '56108%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021418s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '56108%' OR `brand` LIKE '56108%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.020983s ]