SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001817s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002045s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.153' ) [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002669s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000307s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000267s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002019s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) [ RunTime:0.002277s ]
SELECT `s`.`id`,`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 ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006418s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16237 LIMIT 4 [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16237 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16237 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16237 LIMIT 2 [ RunTime:0.003525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16237 ORDER BY `minOrder` ASC [ RunTime:0.002031s ]
select * from pdf where partno='724' and brandshort='SCS' limit 1 [ RunTime:0.006881s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '724' OR `brand` LIKE 'SCS%' ) ) LIMIT 1 [ RunTime:0.001070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16231 LIMIT 4 [ RunTime:0.009152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16231 ORDER BY `minOrder` ASC [ RunTime:0.000798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16231 ORDER BY `unit` DESC [ RunTime:0.001327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16231 LIMIT 2 [ RunTime:0.001009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16231 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='BAT54WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000575s ]
select foldpath,foldpath2,filename from pdf_file where id=1916027 limit 1 [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54WS-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16149 LIMIT 4 [ RunTime:0.003482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16149 ORDER BY `minOrder` ASC [ RunTime:0.007250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16149 ORDER BY `unit` DESC [ RunTime:0.008255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16149 LIMIT 2 [ RunTime:0.001905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16149 ORDER BY `minOrder` ASC [ RunTime:0.007176s ]
select * from pdf where partno='STPS160U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.008544s ]
select foldpath,foldpath2,filename from pdf_file where id=419620 limit 1 [ RunTime:0.007070s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS160U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16127 LIMIT 4 [ RunTime:0.004449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16127 ORDER BY `minOrder` ASC [ RunTime:0.002119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16127 ORDER BY `unit` DESC [ RunTime:0.000792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16127 LIMIT 2 [ RunTime:0.008261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16127 ORDER BY `minOrder` ASC [ RunTime:0.010184s ]
select * from pdf where partno='L-1384AD/1GD' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.001997s ]
select foldpath,foldpath2,filename from pdf_file where id=1387251 limit 1 [ RunTime:0.006969s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-1384AD/1GD' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.003629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16013 LIMIT 4 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013 ORDER BY `minOrder` ASC [ RunTime:0.001034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16013 ORDER BY `unit` DESC [ RunTime:0.002118s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16013 LIMIT 2 [ RunTime:0.008831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013 ORDER BY `minOrder` ASC [ RunTime:0.002155s ]
select * from pdf where partno='L-130WDT/1EGW' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.000464s ]
select foldpath,foldpath2,filename from pdf_file where id=1387246 limit 1 [ RunTime:0.003126s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-130WDT/1EGW' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.002448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15830 LIMIT 4 [ RunTime:0.005764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15830 ORDER BY `minOrder` ASC [ RunTime:0.006679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15830 ORDER BY `unit` DESC [ RunTime:0.016743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15830 LIMIT 2 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15830 ORDER BY `minOrder` ASC [ RunTime:0.003251s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.006588s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.008998s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15743 LIMIT 4 [ RunTime:0.009589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.006473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15743 ORDER BY `unit` DESC [ RunTime:0.006414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15743 LIMIT 2 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000509s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15635 LIMIT 4 [ RunTime:0.001581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15635 ORDER BY `minOrder` ASC [ RunTime:0.000936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15635 ORDER BY `unit` DESC [ RunTime:0.002872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15635 LIMIT 2 [ RunTime:0.003234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15635 ORDER BY `minOrder` ASC [ RunTime:0.015892s ]
select * from pdf where partno='KPT-2012LVSECK-J4-PRV' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.004300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPT-2012LVSECK-J4-PRV' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.005960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15585 LIMIT 4 [ RunTime:0.020983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15585 ORDER BY `minOrder` ASC [ RunTime:0.019737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15585 ORDER BY `unit` DESC [ RunTime:0.014134s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15585 LIMIT 2 [ RunTime:0.004896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15585 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='LED3-16' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-16' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15567 LIMIT 4 [ RunTime:0.003084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15567 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15567 ORDER BY `unit` DESC [ RunTime:0.002716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15567 LIMIT 2 [ RunTime:0.010415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15567 ORDER BY `minOrder` ASC [ RunTime:0.009363s ]
select * from pdf where partno='QS63XXR12' and brandshort='APEM' limit 1 [ RunTime:0.001938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'QS63XXR12' OR `brand` LIKE 'APEM%' ) ) LIMIT 1 [ RunTime:0.003920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15549 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15549 ORDER BY `minOrder` ASC [ RunTime:0.002649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15549 ORDER BY `unit` DESC [ RunTime:0.002812s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15549 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15549 ORDER BY `minOrder` ASC [ RunTime:0.003359s ]
select * from pdf where partno='PMEG4010BEA,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.011904s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010BEA,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15498 LIMIT 4 [ RunTime:0.006573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15498 ORDER BY `minOrder` ASC [ RunTime:0.007470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15498 ORDER BY `unit` DESC [ RunTime:0.007198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15498 LIMIT 2 [ RunTime:0.001999s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15498 ORDER BY `minOrder` ASC [ RunTime:0.004393s ]
select * from pdf where partno='L02R3000F1' and brandshort='LED TECHNOLOGY' limit 1 [ RunTime:0.004127s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L02R3000F1' OR `brand` LIKE 'LED TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15437 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15437 ORDER BY `minOrder` ASC [ RunTime:0.007947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15437 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15437 LIMIT 2 [ RunTime:0.003124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15437 ORDER BY `minOrder` ASC [ RunTime:0.001996s ]
select * from pdf where partno='HLMP-3401' and brandshort='BROADCOM' limit 1 [ RunTime:0.003083s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-3401' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15422 LIMIT 4 [ RunTime:0.008748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.006960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15422 ORDER BY `unit` DESC [ RunTime:0.003246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15422 LIMIT 2 [ RunTime:0.006040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.001602s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.003307s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.001148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15330 LIMIT 4 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15330 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15330 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15330 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15330 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='CAT4104VP2-GT3' and brandshort='ONSEMI' limit 1 [ RunTime:0.000467s ]
select foldpath,foldpath2,filename from pdf_file where id=831675 limit 1 [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT4104VP2-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15323 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15323 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15323 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000480s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15287 LIMIT 4 [ RunTime:0.001158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15287 ORDER BY `minOrder` ASC [ RunTime:0.000614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15287 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15287 LIMIT 2 [ RunTime:0.001992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15287 ORDER BY `minOrder` ASC [ RunTime:0.002605s ]
select * from pdf where partno='BAS70KFILM' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001527s ]
select foldpath,foldpath2,filename from pdf_file where id=1196380 limit 1 [ RunTime:0.000668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70KFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15195 LIMIT 4 [ RunTime:0.001171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15195 ORDER BY `minOrder` ASC [ RunTime:0.001950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15195 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15195 LIMIT 2 [ RunTime:0.001094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15195 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='ASMB-KTF0-0A306' and brandshort='BROADCOM' limit 1 [ RunTime:0.001503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASMB-KTF0-0A306' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15142 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15142 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15142 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='BAS20HT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000306s ]
select foldpath,foldpath2,filename from pdf_file where id=671906 limit 1 [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001599s ]