SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002187s ]
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` <= 1737065508 AND `category_id` = 166 AND `material_id` = 51 AND `style_id` = 31 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000682s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001195s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 166 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001399s ]
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.000381s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000954s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (329,211,206,201,196) [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001535s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000376s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000346s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000237s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000211s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 211 LIMIT 1 [ RunTime:0.000236s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 211 LIMIT 1 [ RunTime:0.000226s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 211 LIMIT 1 [ RunTime:0.000211s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 211 LIMIT 1 [ RunTime:0.000213s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 206 LIMIT 1 [ RunTime:0.000226s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 206 LIMIT 1 [ RunTime:0.000208s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 206 LIMIT 1 [ RunTime:0.000198s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 206 LIMIT 1 [ RunTime:0.000196s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 201 LIMIT 1 [ RunTime:0.000249s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 201 LIMIT 1 [ RunTime:0.000202s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 201 LIMIT 1 [ RunTime:0.000199s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 201 LIMIT 1 [ RunTime:0.000197s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 196 LIMIT 1 [ RunTime:0.000232s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 196 LIMIT 1 [ RunTime:0.000206s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 196 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 196 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` <= 1737065508 AND `category_id` = 166 AND `material_id` = 51 AND `style_id` = 31 LIMIT 1 [ RunTime:0.000422s ]