SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002367s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000552s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002259s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.23' ) [ RunTime:0.000361s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001739s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000574s ]
SELECT `id` FROM `product_type` WHERE `typeid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) [ RunTime:0.000527s ]
SELECT `id`,`name` FROM `product_type` WHERE `id` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001885s ]
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:38:57' ) ) AND `categoryid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.030067s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1553 LIMIT 4 [ RunTime:0.000521s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1553 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1553 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1552 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1552 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1552 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2499 LIMIT 4 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2499 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2499 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2510 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2510 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2510 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2503 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2503 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2503 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2501 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2501 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2501 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2509 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2509 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2509 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2520 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2520 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2520 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2521 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2521 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2521 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2518 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2518 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2518 LIMIT 2 [ RunTime:0.000364s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-19 07:38:57' ) ) AND `categoryid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.038548s ]
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:38:57' ) ) AND `categoryid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) ) [ RunTime:0.011492s ]