SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002311s ]
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` <= 1737065535 AND `category_id` = 166 ORDER BY `sortrank` DESC,`id` DESC LIMIT 18,9 [ RunTime:0.005125s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001337s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 166 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001366s ]
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.000396s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000844s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (131,186,176,171,1021,1011,946,941,936) [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001055s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 131 LIMIT 1 [ RunTime:0.000300s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 131 LIMIT 1 [ RunTime:0.000247s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 131 LIMIT 1 [ RunTime:0.000249s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 131 LIMIT 1 [ RunTime:0.000189s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 186 LIMIT 1 [ RunTime:0.000244s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 186 LIMIT 1 [ RunTime:0.000211s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 186 LIMIT 1 [ RunTime:0.000223s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 186 LIMIT 1 [ RunTime:0.000200s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 176 LIMIT 1 [ RunTime:0.000336s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 176 LIMIT 1 [ RunTime:0.000225s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 176 LIMIT 1 [ RunTime:0.000275s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 176 LIMIT 1 [ RunTime:0.000259s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 171 LIMIT 1 [ RunTime:0.000271s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 171 LIMIT 1 [ RunTime:0.000295s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 171 LIMIT 1 [ RunTime:0.000279s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 171 LIMIT 1 [ RunTime:0.000230s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1021 LIMIT 1 [ RunTime:0.000363s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1021 LIMIT 1 [ RunTime:0.000326s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1021 LIMIT 1 [ RunTime:0.000296s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1021 LIMIT 1 [ RunTime:0.000301s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1011 LIMIT 1 [ RunTime:0.000255s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1011 LIMIT 1 [ RunTime:0.000282s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1011 LIMIT 1 [ RunTime:0.000237s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1011 LIMIT 1 [ RunTime:0.000239s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 946 LIMIT 1 [ RunTime:0.000317s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 946 LIMIT 1 [ RunTime:0.000261s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 946 LIMIT 1 [ RunTime:0.000219s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 946 LIMIT 1 [ RunTime:0.000238s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 941 LIMIT 1 [ RunTime:0.000239s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 941 LIMIT 1 [ RunTime:0.000225s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 941 LIMIT 1 [ RunTime:0.000221s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 941 LIMIT 1 [ RunTime:0.000225s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 936 LIMIT 1 [ RunTime:0.000255s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 936 LIMIT 1 [ RunTime:0.000254s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 936 LIMIT 1 [ RunTime:0.000362s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 936 LIMIT 1 [ RunTime:0.000243s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737065535 AND `category_id` = 166 LIMIT 1 [ RunTime:0.000495s ]