SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001761s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009921s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19671550 LIMIT 5 [ RunTime:0.014266s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19671550 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19671550 ORDER BY `unit` DESC [ RunTime:0.000629s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19671550 LIMIT 2 [ RunTime:0.017255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19671550 ORDER BY `minOrder` ASC [ RunTime:0.010557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19670962 LIMIT 5 [ RunTime:0.016714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19670962 ORDER BY `minOrder` ASC [ RunTime:0.047918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19670962 ORDER BY `unit` DESC [ RunTime:0.028111s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19670962 LIMIT 2 [ RunTime:0.041348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19670962 ORDER BY `minOrder` ASC [ RunTime:0.021217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18905690 LIMIT 5 [ RunTime:0.041108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18905690 ORDER BY `minOrder` ASC [ RunTime:0.011706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18905690 ORDER BY `unit` DESC [ RunTime:0.065979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18905690 LIMIT 2 [ RunTime:0.038215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18905690 ORDER BY `minOrder` ASC [ RunTime:0.010826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15454765 LIMIT 5 [ RunTime:0.022905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454765 ORDER BY `minOrder` ASC [ RunTime:0.031335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15454765 ORDER BY `unit` DESC [ RunTime:0.035733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15454765 LIMIT 2 [ RunTime:0.023050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454765 ORDER BY `minOrder` ASC [ RunTime:0.006050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15269152 LIMIT 5 [ RunTime:0.041719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15269152 ORDER BY `minOrder` ASC [ RunTime:0.071788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15269152 ORDER BY `unit` DESC [ RunTime:0.079737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15269152 LIMIT 2 [ RunTime:0.066535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15269152 ORDER BY `minOrder` ASC [ RunTime:0.023392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14303245 LIMIT 5 [ RunTime:0.018967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14303245 ORDER BY `minOrder` ASC [ RunTime:0.035961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14303245 ORDER BY `unit` DESC [ RunTime:0.021468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14303245 LIMIT 2 [ RunTime:0.038390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14303245 ORDER BY `minOrder` ASC [ RunTime:0.005442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14198912 LIMIT 5 [ RunTime:0.056044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198912 ORDER BY `minOrder` ASC [ RunTime:0.011736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14198912 ORDER BY `unit` DESC [ RunTime:0.060335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14198912 LIMIT 2 [ RunTime:0.029135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198912 ORDER BY `minOrder` ASC [ RunTime:0.038287s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086619s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017793s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58409991 LIMIT 5 [ RunTime:0.008095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58409991 ORDER BY `minOrder` ASC [ RunTime:0.040687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58409991 ORDER BY `unit` DESC [ RunTime:0.011657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58409991 LIMIT 2 [ RunTime:0.059660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58409991 ORDER BY `minOrder` ASC [ RunTime:0.020999s ]
select * from pdf where partno='55014' and brandshort='Cole Hersee' limit 1 [ RunTime:0.022843s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55014' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.049365s ]
SELECT `id` FROM `stock` WHERE `id` <> 58409991 AND `partno` = '55014' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.038669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58412515 LIMIT 5 [ RunTime:0.050978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58412515 ORDER BY `minOrder` ASC [ RunTime:0.058087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58412515 ORDER BY `unit` DESC [ RunTime:0.047213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58412515 LIMIT 2 [ RunTime:0.067554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58412515 ORDER BY `minOrder` ASC [ RunTime:0.062082s ]
select * from pdf where partno='55014-05' and brandshort='Cole Hersee' limit 1 [ RunTime:0.015232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55014-05' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.025331s ]
SELECT `id` FROM `stock` WHERE `id` <> 58412515 AND `partno` = '55014-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.021618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63451292 LIMIT 5 [ RunTime:0.019082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63451292 ORDER BY `minOrder` ASC [ RunTime:0.041998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63451292 ORDER BY `unit` DESC [ RunTime:0.069532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63451292 LIMIT 2 [ RunTime:0.004260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63451292 ORDER BY `minOrder` ASC [ RunTime:0.005641s ]
select * from pdf where partno='5501460' and brandshort='Rittal' limit 1 [ RunTime:0.008970s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5501460' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.015117s ]
SELECT `id` FROM `stock` WHERE `id` <> 63451292 AND `partno` = '5501460' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.035797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15269152 [ RunTime:0.035808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63452345 LIMIT 5 [ RunTime:0.041027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63452345 ORDER BY `minOrder` ASC [ RunTime:0.011068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63452345 ORDER BY `unit` DESC [ RunTime:0.008007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63452345 LIMIT 2 [ RunTime:0.010702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63452345 ORDER BY `minOrder` ASC [ RunTime:0.014816s ]
select * from pdf where partno='5501450' and brandshort='Rittal' limit 1 [ RunTime:0.005779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5501450' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.006510s ]
SELECT `id` FROM `stock` WHERE `id` <> 63452345 AND `partno` = '5501450' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.057732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14198912 [ RunTime:0.014260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633975 LIMIT 5 [ RunTime:0.022019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633975 ORDER BY `minOrder` ASC [ RunTime:0.018371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633975 ORDER BY `unit` DESC [ RunTime:0.027966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633975 LIMIT 2 [ RunTime:0.016153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633975 ORDER BY `minOrder` ASC [ RunTime:0.004943s ]
select * from pdf where partno='5501474-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.011359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5501474-2' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.009956s ]
SELECT `id` FROM `stock` WHERE `id` <> 60633975 AND `partno` = '5501474-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.022511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15454765 [ RunTime:0.011267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633926 LIMIT 5 [ RunTime:0.024203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633926 ORDER BY `minOrder` ASC [ RunTime:0.011972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633926 ORDER BY `unit` DESC [ RunTime:0.009253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633926 LIMIT 2 [ RunTime:0.003712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633926 ORDER BY `minOrder` ASC [ RunTime:0.006761s ]
select * from pdf where partno='5501474-3' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.008628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5501474-3' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.008133s ]
SELECT `id` FROM `stock` WHERE `id` <> 60633926 AND `partno` = '5501474-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.034330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19671550 [ RunTime:0.003583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58416327 LIMIT 5 [ RunTime:0.016499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58416327 ORDER BY `minOrder` ASC [ RunTime:0.012209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58416327 ORDER BY `unit` DESC [ RunTime:0.005071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58416327 LIMIT 2 [ RunTime:0.002539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58416327 ORDER BY `minOrder` ASC [ RunTime:0.003094s ]
select * from pdf where partno='55014-BX' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.004148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55014-BX' OR `brand` LIKE 'Littelfuse/Commercial Vehicle Products%' ) ) LIMIT 1 [ RunTime:0.018026s ]
SELECT `id` FROM `stock` WHERE `id` <> 58416327 AND `partno` = '55014-BX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse/commercial vehicle products%' ) [ RunTime:0.005900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58130287 LIMIT 5 [ RunTime:0.020283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58130287 ORDER BY `minOrder` ASC [ RunTime:0.007186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58130287 ORDER BY `unit` DESC [ RunTime:0.013489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58130287 LIMIT 2 [ RunTime:0.013163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58130287 ORDER BY `minOrder` ASC [ RunTime:0.001719s ]
select * from pdf where partno='5501407F' and brandshort='Dialight' limit 1 [ RunTime:0.008724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5501407F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.007366s ]
SELECT `id` FROM `stock` WHERE `id` <> 58130287 AND `partno` = '5501407F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18905690 [ RunTime:0.006718s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001157s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007156s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002314s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001827s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007298s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026060s ]
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 '55014%' OR `brand` LIKE '55014%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002728s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '55014%' OR `brand` LIKE '55014%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023473s ]