From d3bf339bd64d7b7efddc0afdd4beb1866b8b5a04 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 21 九月 2024 00:47:55 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
index 553266c..e9c3c1e 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
@@ -5,7 +5,7 @@
<mapper namespace="com.smartor.mapper.IvrLibaExtemplateCategoryMapper">
<resultMap type="com.smartor.domain.IvrLibaExtemplateCategory" id="IvrLibaExtemplateCategoryResult">
- <result property="intertcatid" column="intertcatid"/>
+ <result property="id" column="id"/>
<result property="categoryname" column="categoryname"/>
<result property="orgid" column="orgid"/>
<result property="delFlag" column="del_flag"/>
@@ -21,7 +21,7 @@
</resultMap>
<sql id="selectIvrLibaExtemplateCategoryVo">
- select intertcatid,
+ select id,
categoryname,
orgid,
del_flag,
@@ -58,7 +58,7 @@
<select id="selectIvrLibaExtemplateCategoryByIntertcatid" parameterType="Long"
resultMap="IvrLibaExtemplateCategoryResult">
<include refid="selectIvrLibaExtemplateCategoryVo"/>
- where intertcatid = #{intertcatid} and del_flag = 0
+ where id = #{id} and del_flag = 0
</select>
<select id="selectSeqMax" resultType="integer">
@@ -68,7 +68,7 @@
</select>
<insert id="insertIvrLibaExtemplateCategory" parameterType="com.smartor.domain.IvrLibaExtemplateCategory"
- useGeneratedKeys="true" keyProperty="intertcatid">
+ useGeneratedKeys="true" keyProperty="id">
insert into ivr_liba_extemplate_category
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="categoryname != null">categoryname,</if>
@@ -116,21 +116,21 @@
<if test="guid != null">guid = #{guid},</if>
<if test="seqno != null">seqno = #{seqno},</if>
</trim>
- where intertcatid = #{intertcatid}
+ where id = #{id}
</update>
<update id="deleteIvrLibaExtemplateCategoryByIntertcatid" parameterType="Long">
update ivr_liba_extemplate_category
<trim prefix="SET" suffixOverrides=",">
- <if test="delFlag != null and delFlag != ''">del_flag = 1,</if>
+ del_flag = 1
</trim>
- where intertcatid = #{intertcatid}
+ where id = #{id}
</update>
<delete id="deleteIvrLibaExtemplateCategoryByIntertcatids" parameterType="String">
- delete from ivr_liba_extemplate_category where intertcatid in
- <foreach item="intertcatid" collection="array" open="(" separator="," close=")">
- #{intertcatid}
+ delete from ivr_liba_extemplate_category where id in
+ <foreach item="id" collection="array" open="(" separator="," close=")">
+ #{id}
</foreach>
</delete>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3