From 3d5d75e25d2e0078814a4efd66b72c5b1b5f93c4 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 19 二月 2025 17:14:07 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 740f00d..ecb1f0f 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -630,8 +630,6 @@
         a.create_time,
         a.isupload,
         a.upload_time,
-        d.leavehospitaldistrictcode AS leavehospitaldistrictcode,
-        d.leavehospitaldistrictname AS leavehospitaldistrictname,
         a.pattype
         from pat_med_outhosp d JOIN pat_archive a ON a.id = d.patid
         LEFT JOIN ( SELECT patid, GROUP_CONCAT( tagname ) AS tagname FROM pat_archivetag GROUP BY patid ) t ON t.patid =
@@ -659,9 +657,6 @@
             </if>
             <if test="deptname != null and deptname != ''">
                 and d.deptname LIKE concat('%', #{deptname}, '%')
-            </if>
-            <if test="leavehospitaldistrictname != null and leavehospitaldistrictname != ''">
-                and d.leavehospitaldistrictname LIKE concat('%', #{leavehospitaldistrictname}, '%')
             </if>
             <if test="drname != null and drname != ''">
                 AND d.drname LIKE concat('%',#{drname}, '%')
@@ -923,8 +918,6 @@
         a.create_time,
         a.isupload,
         a.upload_time,
-        d.leavehospitaldistrictcode AS leavehospitaldistrictcode,
-        d.leavehospitaldistrictname AS leavehospitaldistrictname,
         a.pattype
         from pat_med_outhosp d JOIN pat_archive a ON a.id = d.patid
         LEFT JOIN ( SELECT patid, GROUP_CONCAT( tagname ) AS tagname FROM pat_archivetag GROUP BY patid ) t ON t.patid =
@@ -952,9 +945,6 @@
             </if>
             <if test="deptname != null and deptname != ''">
                 and d.deptname LIKE concat('%', #{deptname}, '%')
-            </if>
-            <if test="leavehospitaldistrictname != null and leavehospitaldistrictname != ''">
-                and d.leavehospitaldistrictname LIKE concat('%', #{leavehospitaldistrictname}, '%')
             </if>
             <if test="drname != null and drname != ''">
                 AND d.drname LIKE concat('%',#{drname}, '%')

--
Gitblit v1.9.3