From 56a4486d11a6029a7aa75d274be85f7810884c7f Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 26 八月 2025 15:10:54 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 1ea6f47..1dc9730 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -928,6 +928,12 @@
<if test="endtime != null">
AND d.endtime = #{endtime}
</if>
+ <if test="drname != null and drname != ''">
+ AND d.drname LIKE concat('%',#{drname}, '%')
+ </if>
+ <if test="drcode != null">
+ AND d.drcode = #{drcode}
+ </if>
<if test="cry != null and cry == 0 ">and d.endtime is null</if>
<if test="cry != null and cry == 1 ">and d.endtime is not null</if>
<if test="visitno != null and visitno != ''">
@@ -1059,6 +1065,9 @@
<if test="drname != null and drname != ''">
AND d.drname LIKE concat('%',#{drname}, '%')
</if>
+ <if test="drcode != null">
+ AND d.drcode = #{drcode}
+ </if>
<if test="pids != null">
AND a.id NOT IN
<foreach collection="pids" item="pid" open="(" separator="," close=")">
--
Gitblit v1.9.3