SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.005249s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002912s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.50' ) [ RunTime:0.000405s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002537s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000364s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 222 LIMIT 1 [ RunTime:0.000828s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 222 [ RunTime:0.000586s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 28 [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002323s ]
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-09 07:52:55' ) ) AND `categoryid` = 222 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.861979s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12511 LIMIT 4 [ RunTime:0.000609s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12511 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000806s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12511 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000827s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782351-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.001080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512 LIMIT 4 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12512 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12512 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782352-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12453 LIMIT 4 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12453 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12453 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '777531-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000937s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-09 07:52:55' ) ) AND `categoryid` = 222 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.552166s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-09 07:52:55' ) ) AND `categoryid` = 222 ) [ RunTime:1.613712s ]