SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001816s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000506s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002281s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.176' ) [ RunTime:0.000492s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001349s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000295s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 438 [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001037s ]
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:14:39' ) ) AND `categoryid` = 438 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.019819s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1357 LIMIT 4 [ RunTime:0.000514s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1357 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1357 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1357 LIMIT 2 [ RunTime:0.000445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1358 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1358 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1358 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1358 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1359 LIMIT 4 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1359 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1359 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1359 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13729 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13729 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13729 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13729 LIMIT 2 [ RunTime:0.000395s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 03:14:39' ) ) AND `categoryid` = 438 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.035394s ]
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:14:39' ) ) AND `categoryid` = 438 ) [ RunTime:0.021855s ]