From 513485caca0c56c713797bfd208c6f22c7ce7727 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 17 八月 2023 17:06:54 +0800
Subject: [PATCH] 初始化1.0.1

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

diff --git a/server/src/main/resources/mappers/WOutboundExtMapper.xml b/server/src/main/resources/mappers/WOutboundExtMapper.xml
index 8abffc5..4a83e4b 100644
--- a/server/src/main/resources/mappers/WOutboundExtMapper.xml
+++ b/server/src/main/resources/mappers/WOutboundExtMapper.xml
@@ -558,6 +558,15 @@
       <if test="beginDate != null and beginDate != '' ">
         AND `w`.`VALID_DATE` >= CONCAT(#{beginDate},' 00:00:00')
       </if>
+
+      <if test="rootDepartId != null">
+        AND `w`.`ROOT_DEPART_ID` = #{rootDepartId}
+      </if>
+
+      <if test="departId != null">
+        AND `w`.`DEPART_ID` = #{departId}
+      </if>
+
       <if test="endDate != null and endDate != '' ">
         AND CONCAT(#{endDate},' 23:59:59') >= `w`.`VALID_DATE`
       </if>

--
Gitblit v1.9.3