From 91880ae33c42669c3c1bb0e0288c534fc40fee02 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 06 九月 2024 17:17:00 +0800
Subject: [PATCH] 定时任务工单方法枷锁

---
 ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
index 606dabe..1b7816b 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
@@ -41,6 +41,9 @@
         <if test="query.reportType != null and query.reportType != ''">
             AND r.report_type = #{query.reportType}
         </if>
+        <if test="query.unitId != null">
+            AND r.unit_id = #{query.unitId}
+        </if>
         <if test="query.status != null">
             AND r.status = #{query.status}
         </if>

--
Gitblit v1.8.0