From 80ba21616141b4b95243ed62bd22b0e2d9290a63 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 25 七月 2024 13:53:52 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaExtemplateCategoryMapper.xml
index 9141541..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,7 +116,7 @@
             <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">
@@ -124,13 +124,13 @@
         <trim prefix="SET" suffixOverrides=",">
             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