SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.002052s ]
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` <= 1737057745 AND `category_id` = 167 ORDER BY `sortrank` DESC,`id` DESC LIMIT 9,9 [ RunTime:0.000794s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001252s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` = 167 [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001224s ]
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.000400s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.001499s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (966,956,926,906,861,851,826,806,686) [ RunTime:0.000539s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001688s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 966 LIMIT 1 [ RunTime:0.000398s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 966 LIMIT 1 [ RunTime:0.000312s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 966 LIMIT 1 [ RunTime:0.004375s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 966 LIMIT 1 [ RunTime:0.000434s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 956 LIMIT 1 [ RunTime:0.000356s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 956 LIMIT 1 [ RunTime:0.000321s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 956 LIMIT 1 [ RunTime:0.000311s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 956 LIMIT 1 [ RunTime:0.000332s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 926 LIMIT 1 [ RunTime:0.000284s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 926 LIMIT 1 [ RunTime:0.000245s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 926 LIMIT 1 [ RunTime:0.000252s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 926 LIMIT 1 [ RunTime:0.000231s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 906 LIMIT 1 [ RunTime:0.000247s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 906 LIMIT 1 [ RunTime:0.000226s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 906 LIMIT 1 [ RunTime:0.000208s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 906 LIMIT 1 [ RunTime:0.000234s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 861 LIMIT 1 [ RunTime:0.000239s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 861 LIMIT 1 [ RunTime:0.000221s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 861 LIMIT 1 [ RunTime:0.000287s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 861 LIMIT 1 [ RunTime:0.000281s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 851 LIMIT 1 [ RunTime:0.000261s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 851 LIMIT 1 [ RunTime:0.000254s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 851 LIMIT 1 [ RunTime:0.000278s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 851 LIMIT 1 [ RunTime:0.000407s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 826 LIMIT 1 [ RunTime:0.000296s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 826 LIMIT 1 [ RunTime:0.000279s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 826 LIMIT 1 [ RunTime:0.000336s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 826 LIMIT 1 [ RunTime:0.000366s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000317s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000237s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000249s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000231s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 686 LIMIT 1 [ RunTime:0.000249s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 686 LIMIT 1 [ RunTime:0.000220s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 686 LIMIT 1 [ RunTime:0.000235s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 686 LIMIT 1 [ RunTime:0.000214s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737057745 AND `category_id` = 167 LIMIT 1 [ RunTime:0.000553s ]