SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002839s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000564s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002382s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000401s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001721s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000304s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000288s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000224s ]
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.000285s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001973s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 19:18:48' ) ) 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 30,10 [ RunTime:2.140771s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67 LIMIT 4 [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
select * from pdf where partno='B72210S0500K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000753s ]
select foldpath,foldpath2,filename from pdf_file where id=566336 limit 1 [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000963s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72210S0500K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1477 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1477 ORDER BY `unit` DESC [ RunTime:0.000458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1477 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-PSMF050X-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17105 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17105 ORDER BY `unit` DESC [ RunTime:0.000160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17105 LIMIT 2 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17083 LIMIT 4 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17083 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17083 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17083 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17083 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000500s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657 LIMIT 4 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16657 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16657 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000402s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16626 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16626 ORDER BY `unit` DESC [ RunTime:0.000425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16626 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='4245C' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4245C' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000420s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16602 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16602 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16602 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16087 LIMIT 4 [ RunTime:0.000191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16087 ORDER BY `unit` DESC [ RunTime:0.000165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16087 LIMIT 2 [ RunTime:0.000158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.000202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 19:18:48' ) ) AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.868751s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 19:18:48' ) ) AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) [ RunTime:1.775839s ]