SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.003329s ]
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` <= 1737055018 AND `category_id` = 27 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001035s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001179s ]
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.000384s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000830s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (656,1116,621,641,1126,1121,681,616,651) [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001023s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 656 LIMIT 1 [ RunTime:0.000265s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 656 LIMIT 1 [ RunTime:0.000218s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 656 LIMIT 1 [ RunTime:0.000194s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 656 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1116 LIMIT 1 [ RunTime:0.000245s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1116 LIMIT 1 [ RunTime:0.000242s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1116 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1116 LIMIT 1 [ RunTime:0.000203s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 621 LIMIT 1 [ RunTime:0.000232s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 621 LIMIT 1 [ RunTime:0.000192s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 621 LIMIT 1 [ RunTime:0.000215s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 621 LIMIT 1 [ RunTime:0.000189s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 641 LIMIT 1 [ RunTime:0.000218s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 641 LIMIT 1 [ RunTime:0.000221s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 641 LIMIT 1 [ RunTime:0.000190s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 641 LIMIT 1 [ RunTime:0.000187s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1126 LIMIT 1 [ RunTime:0.000222s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1126 LIMIT 1 [ RunTime:0.000189s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1126 LIMIT 1 [ RunTime:0.000618s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1126 LIMIT 1 [ RunTime:0.000194s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1121 LIMIT 1 [ RunTime:0.000232s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1121 LIMIT 1 [ RunTime:0.000203s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1121 LIMIT 1 [ RunTime:0.000226s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1121 LIMIT 1 [ RunTime:0.000186s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 681 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 681 LIMIT 1 [ RunTime:0.000187s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 681 LIMIT 1 [ RunTime:0.000187s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 681 LIMIT 1 [ RunTime:0.000209s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 616 LIMIT 1 [ RunTime:0.000207s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 616 LIMIT 1 [ RunTime:0.000186s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 616 LIMIT 1 [ RunTime:0.000209s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 616 LIMIT 1 [ RunTime:0.000187s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 651 LIMIT 1 [ RunTime:0.000270s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 651 LIMIT 1 [ RunTime:0.000246s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 651 LIMIT 1 [ RunTime:0.000221s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 651 LIMIT 1 [ RunTime:0.000189s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737055018 AND `category_id` = 27 LIMIT 1 [ RunTime:0.000453s ]