From 01c9667cfb06970564e837dc343d5cee0eb3aed7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 24 四月 2024 17:53:42 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml
index bfce5aa..2f4bf1e 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml
@@ -29,11 +29,15 @@
<result property="isavailable" column="isavailable"/>
<result property="language" column="language"/>
<result property="otherdata" column="otherdata"/>
+ <result property="valueType" column="value_type"/>
+ <result property="reply" column="reply"/>
</resultMap>
<sql id="selectSvyLibTopicVo">
select topicid,
oldid,
+ value_type,
+ reply,
svyid,
topictype,
topiccode,
@@ -55,7 +59,7 @@
suitway,
isavailable,
otherdata,
- language,
+ language,
svy_topicid as svyTopicId
from svy_lib_topic
</sql>
@@ -112,6 +116,8 @@
<if test="isavailable != null and isavailable != ''">isavailable,</if>
<if test="language != null and language!=''">language,</if>
<if test="otherdata != null and otherdata!=''">otherdata,</if>
+ <if test="valueType != null and valueType!=''">value_type,</if>
+ <if test="reply != null and reply!=''">otherdata,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oldid != null">#{oldid},</if>
@@ -138,6 +144,8 @@
<if test="isavailable != null and isavailable != ''">#{isavailable},</if>
<if test="language != null and language!=''">#{language},</if>
<if test="otherdata != null and otherdata!=''">#{otherdata},</if>
+ <if test="valueType != null and valueType!=''">#{valueType},</if>
+ <if test="reply != null and reply!=''">#{therdata},</if>
</trim>
</insert>
@@ -167,6 +175,8 @@
<if test="tag != null">tag = #{tag},</if>
<if test="language != null and language!=''">language = #{language},</if>
<if test="otherdata != null and otherdata!=''">otherdata = #{otherdata},</if>
+ <if test="valueType != null and valueType!=''">value_type = #{valueType},</if>
+ <if test="reply != null and reply!=''">therdata =#{therdata},</if>
</trim>
where topicid = #{topicid}
</update>
@@ -187,4 +197,4 @@
</delete>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3