diff --git a/sql/ry_20240629.sql b/sql/ry_20240629.sql
index 48d111a5c..0d76422bf 100644
--- a/sql/ry_20240629.sql
+++ b/sql/ry_20240629.sql
@@ -3406,6 +3406,7 @@ CREATE TABLE `store_product`
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_storeid`(`store_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档口商品' ROW_FORMAT = DYNAMIC;
+CREATE INDEX idx_store_product_store_status_del ON store_product(store_id, prod_status, del_flag);
-- ----------------------------
diff --git a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml
index 8ac566ebd..40ad03239 100644
--- a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml
+++ b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml
@@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and sf.id = #{storeFactoryId}
and sf.remark like concat('%', #{remark}, '%')
and spdd.emergency = #{emergency}
- and spd.demand_status = #{demandStatus}
+ and spdd.detail_status = #{demandStatus}
ORDER BY
spdd.create_time DESC