SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002860s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040791s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15454588 LIMIT 5 [ RunTime:0.024081s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454588 ORDER BY `minOrder` ASC [ RunTime:0.039263s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15454588 ORDER BY `unit` DESC [ RunTime:0.034900s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.032241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15454588 LIMIT 2 [ RunTime:0.065137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454588 ORDER BY `minOrder` ASC [ RunTime:0.013971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16149908 LIMIT 5 [ RunTime:0.015395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16149908 ORDER BY `minOrder` ASC [ RunTime:0.064189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16149908 ORDER BY `unit` DESC [ RunTime:0.060417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16149908 LIMIT 2 [ RunTime:0.033945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16149908 ORDER BY `minOrder` ASC [ RunTime:0.075299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19671593 LIMIT 5 [ RunTime:0.037790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19671593 ORDER BY `minOrder` ASC [ RunTime:0.111301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19671593 ORDER BY `unit` DESC [ RunTime:0.045403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19671593 LIMIT 2 [ RunTime:0.069147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19671593 ORDER BY `minOrder` ASC [ RunTime:0.024122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15454757 LIMIT 5 [ RunTime:0.046900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454757 ORDER BY `minOrder` ASC [ RunTime:0.090404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15454757 ORDER BY `unit` DESC [ RunTime:0.044003s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15454757 LIMIT 2 [ RunTime:0.034222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454757 ORDER BY `minOrder` ASC [ RunTime:0.020923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13306883 LIMIT 5 [ RunTime:0.062448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13306883 ORDER BY `minOrder` ASC [ RunTime:0.078329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13306883 ORDER BY `unit` DESC [ RunTime:0.039046s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13306883 LIMIT 2 [ RunTime:0.131805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13306883 ORDER BY `minOrder` ASC [ RunTime:0.016688s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12198706 LIMIT 5 [ RunTime:0.038892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12198706 ORDER BY `minOrder` ASC [ RunTime:0.039433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12198706 ORDER BY `unit` DESC [ RunTime:0.048809s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12198706 LIMIT 2 [ RunTime:0.013024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12198706 ORDER BY `minOrder` ASC [ RunTime:0.002200s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014690s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633519 LIMIT 5 [ RunTime:0.010161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633519 ORDER BY `minOrder` ASC [ RunTime:0.007205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633519 ORDER BY `unit` DESC [ RunTime:0.010751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633519 LIMIT 2 [ RunTime:0.024441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633519 ORDER BY `minOrder` ASC [ RunTime:0.019205s ]
select * from pdf where partno='1061710520' and brandshort='Molex' limit 1 [ RunTime:0.019407s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061710520' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.031282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633517 LIMIT 5 [ RunTime:0.009161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633517 ORDER BY `minOrder` ASC [ RunTime:0.036392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633517 ORDER BY `unit` DESC [ RunTime:0.020332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633517 LIMIT 2 [ RunTime:0.003708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633517 ORDER BY `minOrder` ASC [ RunTime:0.031665s ]
select * from pdf where partno='1061710100' and brandshort='Molex' limit 1 [ RunTime:0.034280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061710100' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.050355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64811823 LIMIT 5 [ RunTime:0.044679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64811823 ORDER BY `minOrder` ASC [ RunTime:0.002805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64811823 ORDER BY `unit` DESC [ RunTime:0.014741s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64811823 LIMIT 2 [ RunTime:0.053893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64811823 ORDER BY `minOrder` ASC [ RunTime:0.016851s ]
select * from pdf where partno='1061710' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.036916s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061710' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.003883s ]
SELECT `id` FROM `stock` WHERE `id` <> 64811823 AND `partno` = '1061710' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.025875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12198706 [ RunTime:0.011821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633973 LIMIT 5 [ RunTime:0.038739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633973 ORDER BY `minOrder` ASC [ RunTime:0.070534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633973 ORDER BY `unit` DESC [ RunTime:0.085071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633973 LIMIT 2 [ RunTime:0.104016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633973 ORDER BY `minOrder` ASC [ RunTime:0.048697s ]
select * from pdf where partno='1061710030' and brandshort='Molex' limit 1 [ RunTime:0.037877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061710030' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.089733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60321490 LIMIT 5 [ RunTime:0.025489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60321490 ORDER BY `minOrder` ASC [ RunTime:0.100707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60321490 ORDER BY `unit` DESC [ RunTime:0.048189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60321490 LIMIT 2 [ RunTime:0.059633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60321490 ORDER BY `minOrder` ASC [ RunTime:0.021644s ]
select * from pdf where partno='1061710000' and brandshort='Weidmüller' limit 1 [ RunTime:0.021171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061710000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.125682s ]
SELECT `id` FROM `stock` WHERE `id` <> 60321490 AND `partno` = '1061710000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.047617s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044806s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128260s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.154652s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120228s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.129316s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036556s ]
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 '1061710%' OR `brand` LIKE '1061710%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.114452s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1061710%' OR `brand` LIKE '1061710%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.066762s ]