SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001962s ]
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` <= 1737056423 AND `category_id` = 185 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000723s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001054s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 185 [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001163s ]
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.000354s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000896s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (405,403,401,397,399,1046,1041,1016,981) [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001024s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 405 LIMIT 1 [ RunTime:0.000281s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 405 LIMIT 1 [ RunTime:0.000221s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 405 LIMIT 1 [ RunTime:0.004202s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 405 LIMIT 1 [ RunTime:0.000252s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 403 LIMIT 1 [ RunTime:0.000347s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 403 LIMIT 1 [ RunTime:0.000280s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 403 LIMIT 1 [ RunTime:0.000253s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 403 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 401 LIMIT 1 [ RunTime:0.000286s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 401 LIMIT 1 [ RunTime:0.000266s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 401 LIMIT 1 [ RunTime:0.000261s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 401 LIMIT 1 [ RunTime:0.000272s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 397 LIMIT 1 [ RunTime:0.000261s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 397 LIMIT 1 [ RunTime:0.000244s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 397 LIMIT 1 [ RunTime:0.000243s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 397 LIMIT 1 [ RunTime:0.000249s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 399 LIMIT 1 [ RunTime:0.000266s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 399 LIMIT 1 [ RunTime:0.000236s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 399 LIMIT 1 [ RunTime:0.000233s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 399 LIMIT 1 [ RunTime:0.000236s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1046 LIMIT 1 [ RunTime:0.000262s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1046 LIMIT 1 [ RunTime:0.000259s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1046 LIMIT 1 [ RunTime:0.000238s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1046 LIMIT 1 [ RunTime:0.000236s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1041 LIMIT 1 [ RunTime:0.000245s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1041 LIMIT 1 [ RunTime:0.000266s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1041 LIMIT 1 [ RunTime:0.000255s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1041 LIMIT 1 [ RunTime:0.000212s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1016 LIMIT 1 [ RunTime:0.000209s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1016 LIMIT 1 [ RunTime:0.000198s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1016 LIMIT 1 [ RunTime:0.000189s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1016 LIMIT 1 [ RunTime:0.000199s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 981 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 981 LIMIT 1 [ RunTime:0.000189s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 981 LIMIT 1 [ RunTime:0.000195s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 981 LIMIT 1 [ RunTime:0.000195s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737056423 AND `category_id` = 185 LIMIT 1 [ RunTime:0.000448s ]