SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002329s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000831s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002423s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000342s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002128s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003655s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 25 LIMIT 1 [ RunTime:0.001499s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000234s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002374s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) AND `u`.`lockUser` = '0' [ RunTime:0.004392s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003607s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('72','66','1012','7476','250','973','6047','7477','249','248','4569','13951','717','3941','71','1179','4237','2812','789','3137') ORDER BY FIELD(s.id, 72,66,1012,7476,250,973,6047,7477,249,248,4569,13951,717,3941,71,1179,4237,2812,789,3137) [ RunTime:0.004554s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 72 LIMIT 4 [ RunTime:0.001604s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000706s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 72 ORDER BY `unit` DESC [ RunTime:0.001917s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 72 LIMIT 2 [ RunTime:0.003631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='B72207S0301K101' and brandshort='EPCOS' limit 1 [ RunTime:0.002646s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.002648s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0301K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.007585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66 LIMIT 4 [ RunTime:0.011269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.004566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66 ORDER BY `unit` DESC [ RunTime:0.001057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66 LIMIT 2 [ RunTime:0.002912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000819s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.012339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.005823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.002481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.003336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.007092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.004429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.001111s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 4 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.001412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.004075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.001450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.004724s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.006751s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.015353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.001481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.002175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.005770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.001736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.007793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.008101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.005348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.002227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.002571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.003334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.001114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.002580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 249 LIMIT 4 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 249 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 249 LIMIT 2 [ RunTime:0.004714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000999s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000909s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 248 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 248 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 248 LIMIT 2 [ RunTime:0.003357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
select * from pdf where partno='V27ZA1P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001798s ]
select foldpath,foldpath2,filename from pdf_file where id=213253 limit 1 [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V27ZA1P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4569 LIMIT 4 [ RunTime:0.002250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4569 ORDER BY `unit` DESC [ RunTime:0.005364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4569 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01110501Z.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13951 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13951 ORDER BY `unit` DESC [ RunTime:0.006897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13951 LIMIT 2 [ RunTime:0.003420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='B72520T0040M062' and brandshort='EPCOS' limit 1 [ RunTime:0.001231s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.002992s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0040M062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.010533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 717 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.003640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 717 ORDER BY `unit` DESC [ RunTime:0.001870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 717 LIMIT 2 [ RunTime:0.001895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0020' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.001715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3941 LIMIT 4 [ RunTime:0.009544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3941 ORDER BY `unit` DESC [ RunTime:0.007520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3941 LIMIT 2 [ RunTime:0.002466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MLV0805E32503T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71 LIMIT 4 [ RunTime:0.002394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.005024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71 ORDER BY `unit` DESC [ RunTime:0.006029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71 LIMIT 2 [ RunTime:0.005925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.002678s ]
select * from pdf where partno='B72220S0271K101' and brandshort='EPCOS' limit 1 [ RunTime:0.003128s ]
select foldpath,foldpath2,filename from pdf_file where id=566343 limit 1 [ RunTime:0.001591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72220S0271K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.006589s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 4 [ RunTime:0.002411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.004986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.002454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.001482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.005744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4237 LIMIT 4 [ RunTime:0.004340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.001360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4237 ORDER BY `unit` DESC [ RunTime:0.010326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4237 LIMIT 2 [ RunTime:0.010150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='V510LA80BP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001247s ]
select foldpath,foldpath2,filename from pdf_file where id=178035 limit 1 [ RunTime:0.002054s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V510LA80BP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.013886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2812 LIMIT 4 [ RunTime:0.008363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.002056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2812 ORDER BY `unit` DESC [ RunTime:0.002366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2812 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.000832s ]
select * from pdf where partno='65600001009' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003166s ]
select foldpath,foldpath2,filename from pdf_file where id=1212905 limit 1 [ RunTime:0.002201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '65600001009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 789 LIMIT 4 [ RunTime:0.001903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 789 ORDER BY `unit` DESC [ RunTime:0.001560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 789 LIMIT 2 [ RunTime:0.001256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.006904s ]
select * from pdf where partno='4301.1401' and brandshort='SCHURTER' limit 1 [ RunTime:0.004178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1401' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.008634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3137 LIMIT 4 [ RunTime:0.002393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.004888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3137 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3137 LIMIT 2 [ RunTime:0.001047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.002088s ]
select * from pdf where partno='0031.3901' and brandshort='SCHURTER' limit 1 [ RunTime:0.001169s ]
select foldpath,foldpath2,filename from pdf_file where id=897021 limit 1 [ RunTime:0.004426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.3901' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.004069s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002174s ]