SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003974s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031093s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.021903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12881864 LIMIT 5 [ RunTime:0.055813s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12881864 ORDER BY `minOrder` ASC [ RunTime:0.051290s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.048358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12881864 ORDER BY `unit` DESC [ RunTime:0.058633s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.021319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12881864 LIMIT 2 [ RunTime:0.002673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12881864 ORDER BY `minOrder` ASC [ RunTime:0.007295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012579 LIMIT 5 [ RunTime:0.029772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012579 ORDER BY `minOrder` ASC [ RunTime:0.022253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17012579 ORDER BY `unit` DESC [ RunTime:0.026146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17012579 LIMIT 2 [ RunTime:0.015381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012579 ORDER BY `minOrder` ASC [ RunTime:0.011916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11683028 LIMIT 5 [ RunTime:0.033039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11683028 ORDER BY `minOrder` ASC [ RunTime:0.065090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11683028 ORDER BY `unit` DESC [ RunTime:0.037180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11683028 LIMIT 2 [ RunTime:0.055773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11683028 ORDER BY `minOrder` ASC [ RunTime:0.010982s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048361s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038755s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55094749 LIMIT 5 [ RunTime:0.049483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55094749 ORDER BY `minOrder` ASC [ RunTime:0.042066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55094749 ORDER BY `unit` DESC [ RunTime:0.034721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55094749 LIMIT 2 [ RunTime:0.014978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55094749 ORDER BY `minOrder` ASC [ RunTime:0.013107s ]
select * from pdf where partno='60129011120920' and brandshort='Würth Elektronik' limit 1 [ RunTime:0.027087s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '60129011120920' OR `brand` LIKE 'Würth Elektronik%' ) ) LIMIT 1 [ RunTime:0.018547s ]
SELECT `id` FROM `stock` WHERE `id` <> 55094749 AND `partno` = '60129011120920' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%würth elektronik%' ) [ RunTime:0.049332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12881864 [ RunTime:0.038241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56528108 LIMIT 5 [ RunTime:0.028338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56528108 ORDER BY `minOrder` ASC [ RunTime:0.036798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56528108 ORDER BY `unit` DESC [ RunTime:0.036763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56528108 LIMIT 2 [ RunTime:0.034168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56528108 ORDER BY `minOrder` ASC [ RunTime:0.023590s ]
select * from pdf where partno='6012901' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.041109s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6012901' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.020275s ]
SELECT `id` FROM `stock` WHERE `id` <> 56528108 AND `partno` = '6012901' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.010718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012579 [ RunTime:0.014196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55095239 LIMIT 5 [ RunTime:0.008023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55095239 ORDER BY `minOrder` ASC [ RunTime:0.020754s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55095239 ORDER BY `unit` DESC [ RunTime:0.013616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55095239 LIMIT 2 [ RunTime:0.014459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55095239 ORDER BY `minOrder` ASC [ RunTime:0.001765s ]
select * from pdf where partno='60129011120820' and brandshort='Würth Elektronik' limit 1 [ RunTime:0.006924s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '60129011120820' OR `brand` LIKE 'Würth Elektronik%' ) ) LIMIT 1 [ RunTime:0.010697s ]
SELECT `id` FROM `stock` WHERE `id` <> 55095239 AND `partno` = '60129011120820' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%würth elektronik%' ) [ RunTime:0.008129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11683028 [ RunTime:0.006127s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006190s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023945s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012976s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012163s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020785s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002255s ]
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 '6012901%' OR `brand` LIKE '6012901%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021184s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '6012901%' OR `brand` LIKE '6012901%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014108s ]