SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001162s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001240s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.23' ) [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001096s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000202s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002270s ]
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-09-19 07:26:17' ) ) AND `categoryid` = 420 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.012370s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.000220s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.001366s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.000507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.000321s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 07:26:17' ) ) AND `categoryid` = 420 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.017185s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 07:26:17' ) ) AND `categoryid` = 420 ) [ RunTime:0.010226s ]