From 60ade5154522a042c816abaa1840751011ae0371 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 29 九月 2026 19:15:03 +0800
Subject: [PATCH] 1.省立同德满度问题处理 2.门急诊数据采集优化
---
smartor/src/main/resources/mapper/smartor/SvyLibTemplageCategoryMapper.xml | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplageCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplageCategoryMapper.xml
index b0d9401..e83b92f 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplageCategoryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplageCategoryMapper.xml
@@ -15,6 +15,7 @@
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="orgid" column="orgid"/>
+ <result property="type" column="type"/>
<result property="seqno" column="seqno"/>
</resultMap>
@@ -29,6 +30,7 @@
update_by,
update_time,
orgid,
+ type,
seqno
from svy_lib_template_category
</sql>
@@ -36,15 +38,15 @@
<select id="selectSvyLibTemplateCategoryList" parameterType="com.smartor.domain.SvyLibTemplateCategory"
resultMap="SvyLibTemplateCategoryResult">
<include refid="selectSvyLibTemplateCategoryVo"/>
- <where>
- del_flag=0
+ where 1=1
+ and del_flag = 0
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
<if test="pid != null ">and pid = #{pid}</if>
<if test="guid != null and guid != ''">and guid = #{guid}</if>
<if test="orgid != null ">and orgid = #{orgid}</if>
<if test="seqno != null ">and seqno = #{seqno}</if>
+ <if test="type != null ">and type = #{type}</if>
- </where>
</select>
<select id="selectSvyLibTemplateCategoryById" parameterType="Long" resultMap="SvyLibTemplateCategoryResult">
@@ -66,6 +68,7 @@
<if test="updateTime != null">update_time,</if>
<if test="orgid != null">orgid,</if>
<if test="seqno != null">seqno,</if>
+ <if test="type != null">type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null">#{name},</if>
@@ -78,6 +81,7 @@
<if test="updateTime != null">#{updateTime},</if>
<if test="orgid != null">#{orgid},</if>
<if test="seqno != null">#{seqno},</if>
+ <if test="type != null">#{type},</if>
</trim>
</insert>
@@ -94,6 +98,7 @@
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="orgid != null">orgid = #{orgid},</if>
<if test="seqno != null">seqno = #{seqno},</if>
+ <if test="type != null">type = #{type},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3