From a21946b5a2d500a32ced2d789c68b4cc7f651a60 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 18 三月 2026 10:53:01 +0800
Subject: [PATCH] 【丽水】selectDeptByCode 增加类型判断(科室/病区)
---
smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
index e9c3c1e..0175e23 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
@@ -40,7 +40,7 @@
<select id="selectIvrLibaExtemplateCategoryList" parameterType="com.smartor.domain.IvrLibaExtemplateCategory"
resultMap="IvrLibaExtemplateCategoryResult">
<include refid="selectIvrLibaExtemplateCategoryVo"/>
- <where>
+ where 1=1
<if test="categoryname != null and categoryname != ''">and categoryname like concat('%', #{categoryname},
'%')
</if>
@@ -51,7 +51,6 @@
<if test="guid != null and guid != ''">and guid = #{guid}</if>
<if test="seqno != null ">and seqno = #{seqno}</if>
and del_flag = 0
- </where>
order by seqno asc
</select>
--
Gitblit v1.9.3