From a0c2c050bfde573bc748d7bbdf732cc50e004be8 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 12 三月 2026 17:23:21 +0800
Subject: [PATCH] fix: 生产计划查询未携带申请单编号

---
 src/main/resources/mapper/productionPlan/ProductionPlanMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/productionPlan/ProductionPlanMapper.xml b/src/main/resources/mapper/productionPlan/ProductionPlanMapper.xml
index de06cf1..a7c1b84 100644
--- a/src/main/resources/mapper/productionPlan/ProductionPlanMapper.xml
+++ b/src/main/resources/mapper/productionPlan/ProductionPlanMapper.xml
@@ -59,6 +59,9 @@
         <if test="c.specification != null and c.specification != '' ">
             AND pms.specification LIKE CONCAT('%',#{c.specification},'%')
         </if>
+        <if test="c.applyNo != null and c.applyNo != '' ">
+            AND pp.apply_no LIKE CONCAT('%',#{c.applyNo},'%')
+        </if>
         <if test="c.startDate != null">
             AND pp.start_date &gt;= DATE_FORMAT(#{c.startDate},'%Y-%m-%d')
         </if>

--
Gitblit v1.9.3