SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001166s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023032s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.029618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012135 LIMIT 5 [ RunTime:0.047018s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.021264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012135 ORDER BY `minOrder` ASC [ RunTime:0.012362s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17012135 ORDER BY `unit` DESC [ RunTime:0.014888s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17012135 LIMIT 2 [ RunTime:0.042370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012135 ORDER BY `minOrder` ASC [ RunTime:0.040100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13531507 LIMIT 5 [ RunTime:0.030283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13531507 ORDER BY `minOrder` ASC [ RunTime:0.068730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13531507 ORDER BY `unit` DESC [ RunTime:0.061807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13531507 LIMIT 2 [ RunTime:0.025858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13531507 ORDER BY `minOrder` ASC [ RunTime:0.017276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13191063 LIMIT 5 [ RunTime:0.046807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13191063 ORDER BY `minOrder` ASC [ RunTime:0.074840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13191063 ORDER BY `unit` DESC [ RunTime:0.075913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13191063 LIMIT 2 [ RunTime:0.106390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13191063 ORDER BY `minOrder` ASC [ RunTime:0.033138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11680717 LIMIT 5 [ RunTime:0.038417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11680717 ORDER BY `minOrder` ASC [ RunTime:0.253977s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11680717 ORDER BY `unit` DESC [ RunTime:0.082961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11680717 LIMIT 2 [ RunTime:0.086685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11680717 ORDER BY `minOrder` ASC [ RunTime:0.033174s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031264s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56523759 LIMIT 5 [ RunTime:0.068566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56523759 ORDER BY `minOrder` ASC [ RunTime:0.041881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56523759 ORDER BY `unit` DESC [ RunTime:0.119987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56523759 LIMIT 2 [ RunTime:0.029181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56523759 ORDER BY `minOrder` ASC [ RunTime:0.049961s ]
select * from pdf where partno='1051900' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.039597s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1051900' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.072028s ]
SELECT `id` FROM `stock` WHERE `id` <> 56523759 AND `partno` = '1051900' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.051340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012135 [ RunTime:0.031829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56353636 LIMIT 5 [ RunTime:0.026019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56353636 ORDER BY `minOrder` ASC [ RunTime:0.068833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56353636 ORDER BY `unit` DESC [ RunTime:0.017366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56353636 LIMIT 2 [ RunTime:0.020816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56353636 ORDER BY `minOrder` ASC [ RunTime:0.028686s ]
select * from pdf where partno='1051900000' and brandshort='Weidmüller' limit 1 [ RunTime:0.008689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1051900000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.079899s ]
SELECT `id` FROM `stock` WHERE `id` <> 56353636 AND `partno` = '1051900000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.021321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13531507 [ RunTime:0.036361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 54152524 LIMIT 5 [ RunTime:0.009192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54152524 ORDER BY `minOrder` ASC [ RunTime:0.058105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 54152524 ORDER BY `unit` DESC [ RunTime:0.016714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 54152524 LIMIT 2 [ RunTime:0.056645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54152524 ORDER BY `minOrder` ASC [ RunTime:0.038182s ]
select * from pdf where partno='1051900001' and brandshort='Molex' limit 1 [ RunTime:0.062171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1051900001' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.065491s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.135134s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059919s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027670s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066711s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016275s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072526s ]
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 '1051900%' OR `brand` LIKE '1051900%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072093s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1051900%' OR `brand` LIKE '1051900%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023327s ]