SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002093s ]
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` <= 1737054994 AND `category_id` = 27 ORDER BY `sortrank` DESC,`id` DESC LIMIT 9,9 [ RunTime:0.003838s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001238s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001331s ]
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` IN (12,17) [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000981s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (636,666,646,631,626,1181,355,357,359) [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001165s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 636 LIMIT 1 [ RunTime:0.000334s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 636 LIMIT 1 [ RunTime:0.000263s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 636 LIMIT 1 [ RunTime:0.000204s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 636 LIMIT 1 [ RunTime:0.000219s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 666 LIMIT 1 [ RunTime:0.000265s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 666 LIMIT 1 [ RunTime:0.000230s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 666 LIMIT 1 [ RunTime:0.000195s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 666 LIMIT 1 [ RunTime:0.000188s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 646 LIMIT 1 [ RunTime:0.000221s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 646 LIMIT 1 [ RunTime:0.000190s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 646 LIMIT 1 [ RunTime:0.000205s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 646 LIMIT 1 [ RunTime:0.000253s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 631 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 631 LIMIT 1 [ RunTime:0.000202s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 631 LIMIT 1 [ RunTime:0.000207s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 631 LIMIT 1 [ RunTime:0.000205s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 626 LIMIT 1 [ RunTime:0.000230s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 626 LIMIT 1 [ RunTime:0.000189s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 626 LIMIT 1 [ RunTime:0.000193s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 626 LIMIT 1 [ RunTime:0.000179s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1181 LIMIT 1 [ RunTime:0.000230s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1181 LIMIT 1 [ RunTime:0.000319s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1181 LIMIT 1 [ RunTime:0.000234s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1181 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000327s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000201s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000295s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 355 LIMIT 1 [ RunTime:0.000262s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000267s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000257s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000232s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 357 LIMIT 1 [ RunTime:0.000210s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000241s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000244s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000209s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 359 LIMIT 1 [ RunTime:0.000211s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737054994 AND `category_id` = 27 LIMIT 1 [ RunTime:0.000554s ]