SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001915s ]
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` <= 1737065603 AND `category_id` = 27 ORDER BY `sortrank` DESC,`id` DESC LIMIT 18,9 [ RunTime:0.005280s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001179s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 27 [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001218s ]
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.000282s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000969s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (353,351,349,347,601,1096,1091,1086,596) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001110s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000334s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000211s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000230s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 353 LIMIT 1 [ RunTime:0.000208s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000325s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000211s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 351 LIMIT 1 [ RunTime:0.000189s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000269s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000201s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000187s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 349 LIMIT 1 [ RunTime:0.000183s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000199s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000190s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 347 LIMIT 1 [ RunTime:0.000195s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 601 LIMIT 1 [ RunTime:0.000225s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 601 LIMIT 1 [ RunTime:0.000182s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 601 LIMIT 1 [ RunTime:0.000173s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 601 LIMIT 1 [ RunTime:0.000187s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1096 LIMIT 1 [ RunTime:0.000210s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1096 LIMIT 1 [ RunTime:0.000194s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1096 LIMIT 1 [ RunTime:0.000181s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1096 LIMIT 1 [ RunTime:0.000174s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1091 LIMIT 1 [ RunTime:0.000188s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1091 LIMIT 1 [ RunTime:0.000171s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1091 LIMIT 1 [ RunTime:0.000172s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1091 LIMIT 1 [ RunTime:0.000228s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1086 LIMIT 1 [ RunTime:0.000268s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1086 LIMIT 1 [ RunTime:0.000190s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1086 LIMIT 1 [ RunTime:0.000177s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1086 LIMIT 1 [ RunTime:0.000168s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 596 LIMIT 1 [ RunTime:0.000196s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 596 LIMIT 1 [ RunTime:0.000169s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 596 LIMIT 1 [ RunTime:0.000196s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 596 LIMIT 1 [ RunTime:0.000184s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737065603 AND `category_id` = 27 LIMIT 1 [ RunTime:0.000445s ]