From 6d51501ca93f5bf46759f851988650477cf32e6c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 12 六月 2024 18:02:45 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml
index 01861bd..efcb0c8 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml
@@ -2,9 +2,9 @@
 <!DOCTYPE mapper
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.smartor.mapper.SvyLibTopicCategoryMapper">
+<mapper namespace="com.smartor.mapper.SvyLibScriptCategoryMapper">
 
-    <resultMap type="com.smartor.domain.SvyLibTopicCategory" id="SvyLibTopicCategoryResult">
+    <resultMap type="com.smartor.domain.SvyLibScriptCategory" id="SvyLibScriptCategoryResult">
         <result property="id" column="id"/>
         <result property="name" column="name"/>
         <result property="topicid" column="topicid"/>
@@ -19,7 +19,7 @@
         <result property="seqno" column="seqno"/>
     </resultMap>
 
-    <sql id="selectSvyLibTopicCategoryVo">
+    <sql id="selectSvyLibScriptCategoryVo">
         select id,
                name,
                topicid,
@@ -32,12 +32,12 @@
                update_time,
                seqno,
                orgid
-        from svy_lib_topic_category
+        from svy_lib_script_category
     </sql>
 
-    <select id="selectSvyLibTopicCategoryList" parameterType="com.smartor.domain.SvyLibTopicCategory"
-            resultMap="SvyLibTopicCategoryResult">
-        <include refid="selectSvyLibTopicCategoryVo"/>
+    <select id="selectSvyLibScriptCategoryList" parameterType="com.smartor.domain.SvyLibScriptCategory"
+            resultMap="SvyLibScriptCategoryResult">
+        <include refid="selectSvyLibScriptCategoryVo"/>
         <where>
             del_flag=0
             <if test="name != null  and name != ''">and name like concat('%', #{name}, '%')</if>
@@ -50,14 +50,14 @@
         order by seqno asc
     </select>
 
-    <select id="selectSvyLibTopicCategoryById" parameterType="Long" resultMap="SvyLibTopicCategoryResult">
-        <include refid="selectSvyLibTopicCategoryVo"/>
+    <select id="selectSvyLibScriptCategoryById" parameterType="Long" resultMap="SvyLibScriptCategoryResult">
+        <include refid="selectSvyLibScriptCategoryVo"/>
         where id = #{id}
     </select>
 
-    <insert id="insertSvyLibTopicCategory" parameterType="com.smartor.domain.SvyLibTopicCategory"
+    <insert id="insertSvyLibScriptCategory" parameterType="com.smartor.domain.SvyLibScriptCategory"
             useGeneratedKeys="true" keyProperty="id">
-        insert into svy_lib_topic_category
+        insert into svy_lib_script_category
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="name != null">name,</if>
             <if test="seqno != null">seqno,</if>
@@ -86,8 +86,8 @@
         </trim>
     </insert>
 
-    <update id="updateSvyLibTopicCategory" parameterType="com.smartor.domain.SvyLibTopicCategory">
-        update svy_lib_topic_category
+    <update id="updateSvyLibScriptCategory" parameterType="com.smartor.domain.SvyLibScriptCategory">
+        update svy_lib_script_category
         <trim prefix="SET" suffixOverrides=",">
             <if test="name != null">name = #{name},</if>
             <if test="seqno != null">seqno = #{seqno},</if>
@@ -104,14 +104,14 @@
         where id = #{id}
     </update>
 
-    <delete id="deleteSvyLibTopicCategoryByIds" parameterType="String">
+    <delete id="deleteSvyLibScriptCategoryByIds" parameterType="String">
         delete
-        from svy_lib_topic_category
+        from svy_lib_script_category
         where id = #{id}
     </delete>
 
-    <update id="deleteSvyLibTopicCategoryById" parameterType="Long">
-        update svy_lib_topic_category
+    <update id="deleteSvyLibScriptCategoryById" parameterType="Long">
+        update svy_lib_script_category
         <trim prefix="SET" suffixOverrides=",">
             <if test="delFlag != null">del_flag = ,</if>
         </trim>
@@ -124,4 +124,4 @@
         from iivr_liba_template_assort
 
     </select>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3