SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002001s ]
SELECT `id`,`merchant_id`,`category_id`,`goods_code`,`goods_name`,`goods_no`,`main_pic`,`price`,`min_price`,`max_price`,`stock`,`sales`,`start_sale_time` FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737046427 AND `category_id` = 167 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000742s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001034s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 167 [ RunTime:0.000211s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001184s ]
SELECT `id`,`merchant_name`,`logo`,`city`,`synthesize_score`,`logistics_score`,`service_score` FROM `cs_merchant` WHERE `is_deleted` = 0 AND `role_type` = 1 AND `id` = 12 [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000890s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (661,345,341,333,337,335,331,456,976) [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001034s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 661 LIMIT 1 [ RunTime:0.000334s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 661 LIMIT 1 [ RunTime:0.000213s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 661 LIMIT 1 [ RunTime:0.000234s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 661 LIMIT 1 [ RunTime:0.000227s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 345 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 345 LIMIT 1 [ RunTime:0.000241s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 345 LIMIT 1 [ RunTime:0.000212s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 345 LIMIT 1 [ RunTime:0.000233s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 341 LIMIT 1 [ RunTime:0.000280s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 341 LIMIT 1 [ RunTime:0.000212s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 341 LIMIT 1 [ RunTime:0.000216s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 341 LIMIT 1 [ RunTime:0.000280s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 333 LIMIT 1 [ RunTime:0.000248s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 333 LIMIT 1 [ RunTime:0.000223s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 333 LIMIT 1 [ RunTime:0.000200s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 333 LIMIT 1 [ RunTime:0.000213s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 337 LIMIT 1 [ RunTime:0.000230s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 337 LIMIT 1 [ RunTime:0.000205s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 337 LIMIT 1 [ RunTime:0.000267s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 337 LIMIT 1 [ RunTime:0.000211s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 335 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 335 LIMIT 1 [ RunTime:0.000258s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 335 LIMIT 1 [ RunTime:0.000219s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 335 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 331 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 331 LIMIT 1 [ RunTime:0.000202s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 331 LIMIT 1 [ RunTime:0.000214s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 331 LIMIT 1 [ RunTime:0.000226s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000227s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000249s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000213s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000208s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 976 LIMIT 1 [ RunTime:0.000252s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 976 LIMIT 1 [ RunTime:0.000207s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 976 LIMIT 1 [ RunTime:0.000198s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 976 LIMIT 1 [ RunTime:0.000208s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737046427 AND `category_id` = 167 LIMIT 1 [ RunTime:0.000460s ]