From a5e17e09ce2426ceca8362248bb5e46605bd35d6 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 04 七月 2024 20:26:18 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTopicCategoryMapper.xml
index 1e34aef..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,14 +32,14 @@
                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_flat=0
+            del_flag=0
             <if test="name != null  and name != ''">and name like concat('%', #{name}, '%')</if>
             <if test="topicid != null ">and topicid = #{topicid}</if>
             <if test="pid != null ">and pid = #{pid}</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