SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003884s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003958s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481759 LIMIT 5 [ RunTime:0.009821s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481759 ORDER BY `minOrder` ASC [ RunTime:0.007033s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11481759 ORDER BY `unit` DESC [ RunTime:0.007466s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11481759 LIMIT 2 [ RunTime:0.005012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481759 ORDER BY `minOrder` ASC [ RunTime:0.005080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481676 LIMIT 5 [ RunTime:0.009692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481676 ORDER BY `minOrder` ASC [ RunTime:0.005876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11481676 ORDER BY `unit` DESC [ RunTime:0.007661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11481676 LIMIT 2 [ RunTime:0.001931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481676 ORDER BY `minOrder` ASC [ RunTime:0.003448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657005 LIMIT 5 [ RunTime:0.001727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657005 ORDER BY `minOrder` ASC [ RunTime:0.003971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13657005 ORDER BY `unit` DESC [ RunTime:0.005333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13657005 LIMIT 2 [ RunTime:0.007156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657005 ORDER BY `minOrder` ASC [ RunTime:0.003912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12795116 LIMIT 5 [ RunTime:0.004759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12795116 ORDER BY `minOrder` ASC [ RunTime:0.003368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12795116 ORDER BY `unit` DESC [ RunTime:0.003536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12795116 LIMIT 2 [ RunTime:0.002254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12795116 ORDER BY `minOrder` ASC [ RunTime:0.006263s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32280181 LIMIT 5 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280181 ORDER BY `minOrder` ASC [ RunTime:0.002748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32280181 ORDER BY `unit` DESC [ RunTime:0.001018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32280181 LIMIT 2 [ RunTime:0.004815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280181 ORDER BY `minOrder` ASC [ RunTime:0.002935s ]
select * from pdf where partno='170121-1' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.003346s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002139s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170121-1' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.001303s ]
SELECT `id` FROM `stock` WHERE `id` <> 32280181 AND `partno` = '170121-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity / amp%' ) [ RunTime:0.002606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32280241 LIMIT 5 [ RunTime:0.002252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280241 ORDER BY `minOrder` ASC [ RunTime:0.003267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32280241 ORDER BY `unit` DESC [ RunTime:0.002319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32280241 LIMIT 2 [ RunTime:0.005202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280241 ORDER BY `minOrder` ASC [ RunTime:0.003282s ]
select * from pdf where partno='170121-4' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.007319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170121-4' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.009626s ]
SELECT `id` FROM `stock` WHERE `id` <> 32280241 AND `partno` = '170121-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity / amp%' ) [ RunTime:0.007851s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60345336 LIMIT 5 [ RunTime:0.000433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345336 ORDER BY `minOrder` ASC [ RunTime:0.003336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60345336 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60345336 LIMIT 2 [ RunTime:0.001904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345336 ORDER BY `minOrder` ASC [ RunTime:0.002174s ]
select * from pdf where partno='170121-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170121-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000541s ]
SELECT `id` FROM `stock` WHERE `id` <> 60345336 AND `partno` = '170121-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.002089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481759 [ RunTime:0.000456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60345623 LIMIT 5 [ RunTime:0.001097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345623 ORDER BY `minOrder` ASC [ RunTime:0.001639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60345623 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60345623 LIMIT 2 [ RunTime:0.000685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345623 ORDER BY `minOrder` ASC [ RunTime:0.001163s ]
select * from pdf where partno='170121-4' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170121-4' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000601s ]
SELECT `id` FROM `stock` WHERE `id` <> 60345623 AND `partno` = '170121-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.004958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481676 [ RunTime:0.002740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59915543 LIMIT 5 [ RunTime:0.006488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59915543 ORDER BY `minOrder` ASC [ RunTime:0.018110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59915543 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59915543 LIMIT 2 [ RunTime:0.004799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59915543 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
select * from pdf where partno='1701210' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.054101s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1701210' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.004706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57702491 LIMIT 5 [ RunTime:0.002870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57702491 ORDER BY `minOrder` ASC [ RunTime:0.004046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57702491 ORDER BY `unit` DESC [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57702491 LIMIT 2 [ RunTime:0.001206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57702491 ORDER BY `minOrder` ASC [ RunTime:0.000692s ]
select * from pdf where partno='170121' and brandshort='Brady Corporation' limit 1 [ RunTime:0.001305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170121' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.001257s ]
SELECT `id` FROM `stock` WHERE `id` <> 57702491 AND `partno` = '170121' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657005 [ RunTime:0.000640s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001198s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001093s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001092s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001073s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003795s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001067s ]
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 '170121%' OR `brand` LIKE '170121%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001157s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '170121%' OR `brand` LIKE '170121%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003465s ]