SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002514s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000627s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002933s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.215' ) [ RunTime:0.000463s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002922s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000384s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 156 LIMIT 1 [ RunTime:0.000794s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 156 [ RunTime:0.000339s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002199s ]
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-07 16:40:38' ) ) AND `categoryid` = 156 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:1.912127s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2811 LIMIT 4 [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2811 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2811 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2811 LIMIT 2 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2811 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
select * from pdf where partno='03453LF2ZX010' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001025s ]
select foldpath,foldpath2,filename from pdf_file where id=1137491 limit 1 [ RunTime:0.000465s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03453LF2ZX010' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1013 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1013 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1013 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1013 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1013 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '64800001009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2828 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2828 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2828 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2828 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2828 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='01020071Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002147s ]
select foldpath,foldpath2,filename from pdf_file where id=1137081 limit 1 [ RunTime:0.000731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01020071Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1111 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1111 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1111 ORDER BY `unit` DESC [ RunTime:0.000547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1111 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1111 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK/HTB-28M-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11988 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11988 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11988 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11988 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11988 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '279.6850.0602' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004686s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 16:40:38' ) ) AND `categoryid` = 156 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.050758s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 16:40:38' ) ) AND `categoryid` = 156 ) [ RunTime:1.660014s ]