SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002050s ]
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` <= 1737054179 AND `category_id` = 27 AND `brand_id` = 101 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001361s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001408s ]
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.000325s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000878s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (355,357,359,353,351,349,347) [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001056s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.007535s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000341s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000247s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000212s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000296s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000377s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000220s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000221s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000236s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000207s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000225s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000219s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000248s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000199s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000221s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000197s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000209s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000254s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000289s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000257s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000237s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000251s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000237s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000320s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000316s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000245s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000280s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737054179 AND `category_id` = 27 AND `brand_id` = 101 LIMIT 1 [ RunTime:0.000497s ]