SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002146s ]
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` <= 1737093948 AND `category_id` = 27 ORDER BY `sortrank` DESC,`id` DESC LIMIT 27,9 [ RunTime:0.000796s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001035s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001272s ]
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,15) [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.001151s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (491,486,1166,1161,1156,1151,1146,1141,1136) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001040s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 491 LIMIT 1 [ RunTime:0.000362s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 491 LIMIT 1 [ RunTime:0.000229s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 491 LIMIT 1 [ RunTime:0.000324s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 491 LIMIT 1 [ RunTime:0.000277s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 486 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 486 LIMIT 1 [ RunTime:0.000222s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 486 LIMIT 1 [ RunTime:0.000232s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 486 LIMIT 1 [ RunTime:0.000198s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000254s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000206s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000223s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000250s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000223s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000227s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000271s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000217s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000207s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000266s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000289s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000289s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000222s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000194s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000231s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000185s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000207s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000239s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000265s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000270s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000251s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000288s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000307s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000263s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000244s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000262s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737093948 AND `category_id` = 27 LIMIT 1 [ RunTime:0.000520s ]