SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001369s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001266s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001035s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000218s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000221s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000252s ]
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.000253s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002193s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) [ RunTime:0.000316s ]
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` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) ORDER BY `id` DESC LIMIT 0,20 [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17105 LIMIT 4 [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17105 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17105 LIMIT 2 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.000579s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17083 LIMIT 4 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17083 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17083 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17083 LIMIT 2 [ RunTime:0.000193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17083 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000280s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657 LIMIT 4 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16657 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16657 LIMIT 2 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000235s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16626 LIMIT 4 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16626 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16626 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='4245C' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4245C' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 4 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000413s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16602 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16602 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16602 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 4 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16087 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16087 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16087 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16065 LIMIT 4 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16065 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16065 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16065 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16065 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000327s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15638 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15638 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15638 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15638 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15638 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000326s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15607 LIMIT 4 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15607 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15607 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15607 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15607 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='4245C' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4245C' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15605 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15605 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15605 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000325s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15582 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15582 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15582 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15582 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15582 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15476 LIMIT 4 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15476 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15476 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 4 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13953 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13953 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13953 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13953 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13953 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='B72530T0350K062' and brandshort='EPCOS' limit 1 [ RunTime:0.000339s ]
select foldpath,foldpath2,filename from pdf_file where id=550590 limit 1 [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72530T0350K062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13952 LIMIT 4 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13952 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13952 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13952 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13952 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='B72520T0500K062' and brandshort='EPCOS' limit 1 [ RunTime:0.000337s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0500K062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13951 LIMIT 4 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13951 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13951 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='B72520T0040M062' and brandshort='EPCOS' limit 1 [ RunTime:0.000321s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0040M062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13770 LIMIT 4 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13770 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13770 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13770 LIMIT 2 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13770 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
select * from pdf where partno='0031.1694' and brandshort='SCHURTER' limit 1 [ RunTime:0.000229s ]
select foldpath,foldpath2,filename from pdf_file where id=902274 limit 1 [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.1694' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12594 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12594 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12594 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12594 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12594 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000186s ]
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.000306s ]