SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002025s ]
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` <= 1737143798 AND `category_id` = 27 ORDER BY `sortrank` DESC,`id` DESC LIMIT 45,9 [ RunTime:0.005063s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001089s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001332s ]
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 (15,12,156) [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000859s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (1001,996,991,961,951,916,886,866,856) [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001076s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1001 LIMIT 1 [ RunTime:0.010892s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1001 LIMIT 1 [ RunTime:0.000450s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1001 LIMIT 1 [ RunTime:0.000270s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1001 LIMIT 1 [ RunTime:0.000209s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 996 LIMIT 1 [ RunTime:0.000217s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 996 LIMIT 1 [ RunTime:0.000215s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 996 LIMIT 1 [ RunTime:0.000188s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 996 LIMIT 1 [ RunTime:0.000181s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 991 LIMIT 1 [ RunTime:0.000204s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 991 LIMIT 1 [ RunTime:0.000175s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 991 LIMIT 1 [ RunTime:0.000178s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 991 LIMIT 1 [ RunTime:0.000178s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 961 LIMIT 1 [ RunTime:0.000219s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 961 LIMIT 1 [ RunTime:0.000181s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 961 LIMIT 1 [ RunTime:0.000179s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 961 LIMIT 1 [ RunTime:0.000173s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 951 LIMIT 1 [ RunTime:0.000195s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 951 LIMIT 1 [ RunTime:0.000197s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 951 LIMIT 1 [ RunTime:0.000178s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 951 LIMIT 1 [ RunTime:0.000173s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 916 LIMIT 1 [ RunTime:0.000191s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 916 LIMIT 1 [ RunTime:0.000173s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 916 LIMIT 1 [ RunTime:0.000178s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 916 LIMIT 1 [ RunTime:0.000177s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 886 LIMIT 1 [ RunTime:0.000283s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 886 LIMIT 1 [ RunTime:0.000261s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 886 LIMIT 1 [ RunTime:0.000241s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 886 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 866 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 866 LIMIT 1 [ RunTime:0.000199s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 866 LIMIT 1 [ RunTime:0.000223s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 866 LIMIT 1 [ RunTime:0.000190s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 856 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 856 LIMIT 1 [ RunTime:0.000215s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 856 LIMIT 1 [ RunTime:0.000229s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 856 LIMIT 1 [ RunTime:0.000213s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737143798 AND `category_id` = 27 LIMIT 1 [ RunTime:0.000575s ]