SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003767s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018724s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.015736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19603759 LIMIT 5 [ RunTime:0.018450s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19603759 ORDER BY `minOrder` ASC [ RunTime:0.008064s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19603759 ORDER BY `unit` DESC [ RunTime:0.013028s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19603759 LIMIT 2 [ RunTime:0.008423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19603759 ORDER BY `minOrder` ASC [ RunTime:0.010486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778649 LIMIT 5 [ RunTime:0.008738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778649 ORDER BY `minOrder` ASC [ RunTime:0.021699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18778649 ORDER BY `unit` DESC [ RunTime:0.001511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18778649 LIMIT 2 [ RunTime:0.006523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778649 ORDER BY `minOrder` ASC [ RunTime:0.011846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778645 LIMIT 5 [ RunTime:0.003280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778645 ORDER BY `minOrder` ASC [ RunTime:0.011478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18778645 ORDER BY `unit` DESC [ RunTime:0.005084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18778645 LIMIT 2 [ RunTime:0.009356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778645 ORDER BY `minOrder` ASC [ RunTime:0.013669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778568 LIMIT 5 [ RunTime:0.006545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778568 ORDER BY `minOrder` ASC [ RunTime:0.011062s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18778568 ORDER BY `unit` DESC [ RunTime:0.007855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18778568 LIMIT 2 [ RunTime:0.001932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778568 ORDER BY `minOrder` ASC [ RunTime:0.004923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17011396 LIMIT 5 [ RunTime:0.009469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17011396 ORDER BY `minOrder` ASC [ RunTime:0.003800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17011396 ORDER BY `unit` DESC [ RunTime:0.008250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17011396 LIMIT 2 [ RunTime:0.007034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17011396 ORDER BY `minOrder` ASC [ RunTime:0.007578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14396549 LIMIT 5 [ RunTime:0.001473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14396549 ORDER BY `minOrder` ASC [ RunTime:0.001137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14396549 ORDER BY `unit` DESC [ RunTime:0.002077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14396549 LIMIT 2 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14396549 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002024s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64516007 LIMIT 5 [ RunTime:0.002236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64516007 ORDER BY `minOrder` ASC [ RunTime:0.001231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64516007 ORDER BY `unit` DESC [ RunTime:0.001735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64516007 LIMIT 2 [ RunTime:0.005278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64516007 ORDER BY `minOrder` ASC [ RunTime:0.001479s ]
select * from pdf where partno='108586' and brandshort='Brady Corporation' limit 1 [ RunTime:0.003634s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108586' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002276s ]
SELECT `id` FROM `stock` WHERE `id` <> 64516007 AND `partno` = '108586' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.002618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14396549 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63343743 LIMIT 5 [ RunTime:0.001100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343743 ORDER BY `minOrder` ASC [ RunTime:0.001330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63343743 ORDER BY `unit` DESC [ RunTime:0.000893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63343743 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343743 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
select * from pdf where partno='1085863' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000937s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1085863' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000900s ]
SELECT `id` FROM `stock` WHERE `id` <> 63343743 AND `partno` = '1085863' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17011396 [ RunTime:0.000745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63343178 LIMIT 5 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343178 ORDER BY `minOrder` ASC [ RunTime:0.000654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63343178 ORDER BY `unit` DESC [ RunTime:0.000572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63343178 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343178 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='1085864' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1085864' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000602s ]
SELECT `id` FROM `stock` WHERE `id` <> 63343178 AND `partno` = '1085864' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.005519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778649 [ RunTime:0.001192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63343172 LIMIT 5 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343172 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63343172 ORDER BY `unit` DESC [ RunTime:0.002295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63343172 LIMIT 2 [ RunTime:0.002573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63343172 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='1085862' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1085862' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000546s ]
SELECT `id` FROM `stock` WHERE `id` <> 63343172 AND `partno` = '1085862' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.000561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778645 [ RunTime:0.001120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63342966 LIMIT 5 [ RunTime:0.001830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63342966 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63342966 ORDER BY `unit` DESC [ RunTime:0.000426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63342966 LIMIT 2 [ RunTime:0.000923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63342966 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='1085861' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001630s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1085861' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000974s ]
SELECT `id` FROM `stock` WHERE `id` <> 63342966 AND `partno` = '1085861' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778568 [ RunTime:0.001606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60574070 LIMIT 5 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60574070 ORDER BY `minOrder` ASC [ RunTime:0.002414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60574070 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60574070 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60574070 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='1085860000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000788s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1085860000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000844s ]
SELECT `id` FROM `stock` WHERE `id` <> 60574070 AND `partno` = '1085860000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19603759 [ RunTime:0.000410s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001857s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000692s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001659s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000657s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001805s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000722s ]
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 '108586%' OR `brand` LIKE '108586%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000670s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '108586%' OR `brand` LIKE '108586%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001647s ]