SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002208s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011837s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13318037 LIMIT 5 [ RunTime:0.052378s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.019528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13318037 ORDER BY `minOrder` ASC [ RunTime:0.011703s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13318037 ORDER BY `unit` DESC [ RunTime:0.030399s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13318037 LIMIT 2 [ RunTime:0.016726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13318037 ORDER BY `minOrder` ASC [ RunTime:0.013042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433322 LIMIT 5 [ RunTime:0.023640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433322 ORDER BY `minOrder` ASC [ RunTime:0.004715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16433322 ORDER BY `unit` DESC [ RunTime:0.005012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16433322 LIMIT 2 [ RunTime:0.046708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433322 ORDER BY `minOrder` ASC [ RunTime:0.004796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16411535 LIMIT 5 [ RunTime:0.018308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16411535 ORDER BY `minOrder` ASC [ RunTime:0.027103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16411535 ORDER BY `unit` DESC [ RunTime:0.029564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16411535 LIMIT 2 [ RunTime:0.047962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16411535 ORDER BY `minOrder` ASC [ RunTime:0.006174s ]
select * from pdf where partno='25522 BK005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.022837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13507035 LIMIT 5 [ RunTime:0.018522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13507035 ORDER BY `minOrder` ASC [ RunTime:0.013507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13507035 ORDER BY `unit` DESC [ RunTime:0.023999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13507035 LIMIT 2 [ RunTime:0.023669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13507035 ORDER BY `minOrder` ASC [ RunTime:0.040145s ]
select * from pdf where partno='25522 YL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.010823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13506842 LIMIT 5 [ RunTime:0.051559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506842 ORDER BY `minOrder` ASC [ RunTime:0.012802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13506842 ORDER BY `unit` DESC [ RunTime:0.050246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13506842 LIMIT 2 [ RunTime:0.033996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506842 ORDER BY `minOrder` ASC [ RunTime:0.025924s ]
select * from pdf where partno='25522 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.224234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13506841 LIMIT 5 [ RunTime:0.052527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506841 ORDER BY `minOrder` ASC [ RunTime:0.062042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13506841 ORDER BY `unit` DESC [ RunTime:0.050951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13506841 LIMIT 2 [ RunTime:0.071386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506841 ORDER BY `minOrder` ASC [ RunTime:0.119317s ]
select * from pdf where partno='25522 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.014629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12561457 LIMIT 5 [ RunTime:0.080161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12561457 ORDER BY `minOrder` ASC [ RunTime:0.129786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12561457 ORDER BY `unit` DESC [ RunTime:0.033186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12561457 LIMIT 2 [ RunTime:0.054508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12561457 ORDER BY `minOrder` ASC [ RunTime:0.039808s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047297s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36766420 LIMIT 5 [ RunTime:0.025279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36766420 ORDER BY `minOrder` ASC [ RunTime:0.056588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36766420 ORDER BY `unit` DESC [ RunTime:0.031034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36766420 LIMIT 2 [ RunTime:0.059970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36766420 ORDER BY `minOrder` ASC [ RunTime:0.024715s ]
select * from pdf where partno='25522' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.078732s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002768s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.147148s ]
SELECT `id` FROM `stock` WHERE `id` <> 36766420 AND `partno` = '25522' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.017743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13318037 [ RunTime:0.093497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49573216 LIMIT 5 [ RunTime:0.038728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49573216 ORDER BY `minOrder` ASC [ RunTime:0.070038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49573216 ORDER BY `unit` DESC [ RunTime:0.032085s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49573216 LIMIT 2 [ RunTime:0.036960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49573216 ORDER BY `minOrder` ASC [ RunTime:0.046173s ]
select * from pdf where partno='25522' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.045883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.016073s ]
SELECT `id` FROM `stock` WHERE `id` <> 49573216 AND `partno` = '25522' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.031771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13318037 [ RunTime:0.032119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53655717 LIMIT 5 [ RunTime:0.018679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53655717 ORDER BY `minOrder` ASC [ RunTime:0.017634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53655717 ORDER BY `unit` DESC [ RunTime:0.076792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53655717 LIMIT 2 [ RunTime:0.020749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53655717 ORDER BY `minOrder` ASC [ RunTime:0.045342s ]
select * from pdf where partno='2552200000' and brandshort='Weidmüller' limit 1 [ RunTime:0.027927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2552200000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.104730s ]
SELECT `id` FROM `stock` WHERE `id` <> 53655717 AND `partno` = '2552200000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.048519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12561457 [ RunTime:0.033349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49252977 LIMIT 5 [ RunTime:0.027223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49252977 ORDER BY `minOrder` ASC [ RunTime:0.009652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49252977 ORDER BY `unit` DESC [ RunTime:0.059260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49252977 LIMIT 2 [ RunTime:0.028741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49252977 ORDER BY `minOrder` ASC [ RunTime:0.035476s ]
select * from pdf where partno='25522.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.047748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.011437s ]
SELECT `id` FROM `stock` WHERE `id` <> 49252977 AND `partno` = '25522.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.040072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433322 [ RunTime:0.007279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49202697 LIMIT 5 [ RunTime:0.020982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49202697 ORDER BY `minOrder` ASC [ RunTime:0.016501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49202697 ORDER BY `unit` DESC [ RunTime:0.004298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49202697 LIMIT 2 [ RunTime:0.032017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49202697 ORDER BY `minOrder` ASC [ RunTime:0.010697s ]
select * from pdf where partno='25522 YL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.002585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522 YL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.008972s ]
SELECT `id` FROM `stock` WHERE `id` <> 49202697 AND `partno` = '25522 YL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.003646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13507035 [ RunTime:0.038231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36456543 LIMIT 5 [ RunTime:0.003429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36456543 ORDER BY `minOrder` ASC [ RunTime:0.016323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36456543 ORDER BY `unit` DESC [ RunTime:0.022332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36456543 LIMIT 2 [ RunTime:0.033825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36456543 ORDER BY `minOrder` ASC [ RunTime:0.007342s ]
select * from pdf where partno='25522.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.002872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.006833s ]
SELECT `id` FROM `stock` WHERE `id` <> 36456543 AND `partno` = '25522.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.016305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433322 [ RunTime:0.003129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36406545 LIMIT 5 [ RunTime:0.006104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36406545 ORDER BY `minOrder` ASC [ RunTime:0.017871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36406545 ORDER BY `unit` DESC [ RunTime:0.019423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36406545 LIMIT 2 [ RunTime:0.013730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36406545 ORDER BY `minOrder` ASC [ RunTime:0.012279s ]
select * from pdf where partno='25522 YL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.004655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25522 YL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000777s ]
SELECT `id` FROM `stock` WHERE `id` <> 36406545 AND `partno` = '25522 YL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.014742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13507035 [ RunTime:0.005089s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006053s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001702s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028428s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019145s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003829s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007852s ]
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 '25522%' OR `brand` LIKE '25522%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022683s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '25522%' OR `brand` LIKE '25522%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.013100s ]