SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002486s ]
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` <= 1737056866 AND `category_id` = 156 AND `brand_id` = 96 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000810s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001051s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 156 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001349s ]
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.000396s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000992s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (326,316,301,291,286) [ RunTime:0.000382s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001471s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000277s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000251s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000262s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000217s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 316 LIMIT 1 [ RunTime:0.000371s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 316 LIMIT 1 [ RunTime:0.000214s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 316 LIMIT 1 [ RunTime:0.000212s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 316 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 301 LIMIT 1 [ RunTime:0.000220s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 301 LIMIT 1 [ RunTime:0.000349s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 301 LIMIT 1 [ RunTime:0.000352s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 301 LIMIT 1 [ RunTime:0.000287s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000253s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000223s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000231s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000187s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000221s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000224s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000186s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000206s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737056866 AND `category_id` = 156 AND `brand_id` = 96 LIMIT 1 [ RunTime:0.000392s ]