SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002247s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002122s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.176' ) [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001766s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000264s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 135 [ RunTime:0.001111s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002266s ]
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 03:17:52' ) ) AND `categoryid` = 135 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.026397s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1279 LIMIT 4 [ RunTime:0.000518s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1279 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1279 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1279 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10140 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10140 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10140 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10140 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11457 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11457 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11457 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11457 LIMIT 2 [ RunTime:0.000377s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 03:17:52' ) ) AND `categoryid` = 135 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.034457s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 03:17:52' ) ) AND `categoryid` = 135 ) [ RunTime:0.018810s ]