master:生产需求列表BUG修复;

pull/1121/head
liujiang 2025-10-01 10:54:51 +08:00
parent ae281b7d86
commit 9743628d62
2 changed files with 2 additions and 1 deletions

View File

@ -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);
-- ----------------------------

View File

@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="storeFactoryId != null "> and sf.id = #{storeFactoryId}</if>
<if test="remark != null and remark != ''"> and sf.remark like concat('%', #{remark}, '%')</if>
<if test="emergency != null "> and spdd.emergency = #{emergency}</if>
<if test="demandStatus != null "> and spd.demand_status = #{demandStatus}</if>
<if test="demandStatus != null "> and spdd.detail_status = #{demandStatus}</if>
ORDER BY
spdd.create_time DESC
</select>