From 051964f3cd65e421681a8af7b90c27011c36650d Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 22 九月 2026 10:29:53 +0800
Subject: [PATCH] 1.门诊满意度综合得分排名(按科室或病区)  修改serviceTypes

---
 smartor/src/main/resources/mapper/smartor/BaseOrganizationMapper.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/BaseOrganizationMapper.xml b/smartor/src/main/resources/mapper/smartor/BaseOrganizationMapper.xml
index eacaf7f..088305f 100644
--- a/smartor/src/main/resources/mapper/smartor/BaseOrganizationMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/BaseOrganizationMapper.xml
@@ -40,6 +40,7 @@
         <result property="pid" column="pid"/>
         <result property="guid" column="guid"/>
         <result property="orgid" column="orgid"/>
+        <result property="campusid" column="campusid"/>
     </resultMap>
 
     <sql id="selectBaseOrganizationVo">
@@ -77,15 +78,16 @@
                bankaccount,
                pid,
                guid,
-               orgid
+               orgid,
+               OrganizationID as campusid
         from base_organization
     </sql>
 
     <select id="selectBaseOrganizationList" parameterType="com.smartor.domain.BaseOrganization"
             resultMap="BaseOrganizationResult">
         <include refid="selectBaseOrganizationVo"/>
-        <where>
-            del_flag=0
+        where 1=1
+            and del_flag = 0
             <if test="OrganizationName != null  and OrganizationName != ''">
                 and OrganizationName like concat('%', #{OrganizationName}, '%')
             </if>
@@ -173,7 +175,6 @@
             <if test="orgid != null ">
                 and orgid = #{orgid}
             </if>
-        </where>
     </select>
 
     <select id="selectBaseOrganizationByID" parameterType="Long"

--
Gitblit v1.9.3