SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001981s ]
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` <= 1737057938 AND `category_id` = 166 ORDER BY `sortrank` DESC,`id` DESC LIMIT 0,9 [ RunTime:0.000541s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001028s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 166 [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001187s ]
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` = 12 [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000860s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (329,327,261,256,251,246,241,236,231) [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001057s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000321s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000260s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000219s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 329 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 327 LIMIT 1 [ RunTime:0.000224s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 327 LIMIT 1 [ RunTime:0.000192s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 327 LIMIT 1 [ RunTime:0.000179s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 327 LIMIT 1 [ RunTime:0.000189s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 261 LIMIT 1 [ RunTime:0.000228s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 261 LIMIT 1 [ RunTime:0.000204s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 261 LIMIT 1 [ RunTime:0.000178s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 261 LIMIT 1 [ RunTime:0.000184s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 256 LIMIT 1 [ RunTime:0.000212s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 256 LIMIT 1 [ RunTime:0.000211s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 256 LIMIT 1 [ RunTime:0.000211s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 256 LIMIT 1 [ RunTime:0.000212s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 251 LIMIT 1 [ RunTime:0.000245s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 251 LIMIT 1 [ RunTime:0.000208s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 251 LIMIT 1 [ RunTime:0.000185s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 251 LIMIT 1 [ RunTime:0.000199s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 246 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 246 LIMIT 1 [ RunTime:0.000185s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 246 LIMIT 1 [ RunTime:0.000186s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 246 LIMIT 1 [ RunTime:0.000193s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 241 LIMIT 1 [ RunTime:0.000203s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 241 LIMIT 1 [ RunTime:0.000186s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 241 LIMIT 1 [ RunTime:0.000188s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 241 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 236 LIMIT 1 [ RunTime:0.000235s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 236 LIMIT 1 [ RunTime:0.000208s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 236 LIMIT 1 [ RunTime:0.000223s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 236 LIMIT 1 [ RunTime:0.000207s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 231 LIMIT 1 [ RunTime:0.000294s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 231 LIMIT 1 [ RunTime:0.000222s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 231 LIMIT 1 [ RunTime:0.000207s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 231 LIMIT 1 [ RunTime:0.000212s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737057938 AND `category_id` = 166 LIMIT 1 [ RunTime:0.000404s ]