SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001415s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017142s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18975389 LIMIT 5 [ RunTime:0.024058s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18975389 ORDER BY `minOrder` ASC [ RunTime:0.022256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004958s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18975389 ORDER BY `unit` DESC [ RunTime:0.044205s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18975389 LIMIT 2 [ RunTime:0.070229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18975389 ORDER BY `minOrder` ASC [ RunTime:0.056014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18786418 LIMIT 5 [ RunTime:0.042406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18786418 ORDER BY `minOrder` ASC [ RunTime:0.030180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18786418 ORDER BY `unit` DESC [ RunTime:0.021580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18786418 LIMIT 2 [ RunTime:0.042554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18786418 ORDER BY `minOrder` ASC [ RunTime:0.035742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14397075 LIMIT 5 [ RunTime:0.042669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14397075 ORDER BY `minOrder` ASC [ RunTime:0.004766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14397075 ORDER BY `unit` DESC [ RunTime:0.006207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14397075 LIMIT 2 [ RunTime:0.055401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14397075 ORDER BY `minOrder` ASC [ RunTime:0.028123s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043745s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64518085 LIMIT 5 [ RunTime:0.019652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518085 ORDER BY `minOrder` ASC [ RunTime:0.002722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64518085 ORDER BY `unit` DESC [ RunTime:0.014217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64518085 LIMIT 2 [ RunTime:0.034664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518085 ORDER BY `minOrder` ASC [ RunTime:0.036414s ]
select * from pdf where partno='109561' and brandshort='Brady Corporation' limit 1 [ RunTime:0.021487s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '109561' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.075712s ]
SELECT `id` FROM `stock` WHERE `id` <> 64518085 AND `partno` = '109561' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.020206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14397075 [ RunTime:0.015798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63339987 LIMIT 5 [ RunTime:0.024730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63339987 ORDER BY `minOrder` ASC [ RunTime:0.040515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63339987 ORDER BY `unit` DESC [ RunTime:0.040896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63339987 LIMIT 2 [ RunTime:0.082659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63339987 ORDER BY `minOrder` ASC [ RunTime:0.015700s ]
select * from pdf where partno='1095616' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.047593s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1095616' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.056078s ]
SELECT `id` FROM `stock` WHERE `id` <> 63339987 AND `partno` = '1095616' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.064093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18786418 [ RunTime:0.037345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36577947 LIMIT 5 [ RunTime:0.216171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36577947 ORDER BY `minOrder` ASC [ RunTime:0.052452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36577947 ORDER BY `unit` DESC [ RunTime:0.145923s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36577947 LIMIT 2 [ RunTime:0.038133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36577947 ORDER BY `minOrder` ASC [ RunTime:0.103109s ]
select * from pdf where partno='1095618' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.082210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1095618' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.081759s ]
SELECT `id` FROM `stock` WHERE `id` <> 36577947 AND `partno` = '1095618' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.111237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18975389 [ RunTime:0.085994s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097626s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.119655s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059686s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044539s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110153s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036287s ]
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 '109561%' OR `brand` LIKE '109561%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.092629s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '109561%' OR `brand` LIKE '109561%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.120312s ]