From f1711c588741e3b5a9c0b2aa1fade3fd01bfc13a Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期一, 19 五月 2025 10:09:30 +0800
Subject: [PATCH] 修改日志保留时长

---
 ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml
index edf22c3..919cee0 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml
@@ -51,6 +51,12 @@
             <if test="proName != null and proName != ''">
                 and p.pro_name like concat('%',#{proName},'%')
             </if>
+            <if test="bt != null and bt != ''">
+                and a.title like concat('%',#{bt},'%')
+            </if>
+            <if test="nr != null and nr != ''">
+                and a.advice like concat('%',#{nr},'%')
+            </if>
         </where>
         LIMIT #{page},#{pageSize}
     </select>
@@ -65,6 +71,12 @@
             <if test="proName != null">
                 and p.pro_name like concat('%',#{proName},'%')
             </if>
+            <if test="bt != null and bt != ''">
+                and a.title like concat('%',#{bt},'%')
+            </if>
+            <if test="nr != null and nr != ''">
+                and a.advice like concat('%',#{nr},'%')
+            </if>
         </where>
     </select>
 

--
Gitblit v1.8.0