From 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 06 十二月 2023 08:41:32 +0800
Subject: [PATCH] bug

---
 server/src/main/resources/mappers/WStockExtMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/src/main/resources/mappers/WStockExtMapper.xml b/server/src/main/resources/mappers/WStockExtMapper.xml
index e74bf27..b3e9a00 100644
--- a/server/src/main/resources/mappers/WStockExtMapper.xml
+++ b/server/src/main/resources/mappers/WStockExtMapper.xml
@@ -906,6 +906,9 @@
               <if test="stockNewDTO.qualityType != null">
                 and a.QUALITY_TYPE = #{stockNewDTO.qualityType}
               </if>
+              <if test="stockNewDTO.locationId != null">
+                and a.LOCATION_ID = #{stockNewDTO.locationId}
+              </if>
               <if test="stockNewDTO.batch != null and stockNewDTO.batch != '' ">
                 and a.BATCH = #{stockNewDTO.batch}
               </if>

--
Gitblit v1.9.3