From e52b0e34fc06372aab64c30b526ec289b99c9af7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 19 六月 2024 10:43:47 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyTaskScriptMapper.xml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskScriptMapper.xml index ac266f5..40ac9bd 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyTaskScriptMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyTaskScriptMapper.xml @@ -31,11 +31,11 @@ <result property="scoretype" column="scoretype" /> <result property="score" column="score" /> <result property="showtype" column="showtype" /> - <result property="picturePath" column="picture_path" /> + <result property="scriptPicture" column="script_picture" /> </resultMap> <sql id="selectSvyTaskScriptVo"> - select id, script_type, script_code, script, tag, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, answer, pid, guid, taskid, optiondesc, nexttopicid, nexttopicsort, scoretype, score, showtype, picture_path from svy_task_script + select id, script_type, script_code, script, tag, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, answer, pid, guid, taskid, optiondesc, nexttopicid, nexttopicsort, scoretype, score, showtype, script_picture from svy_task_script </sql> <select id="selectSvyTaskScriptList" parameterType="com.smartor.domain.SvyTaskScript" resultMap="SvyTaskScriptResult"> @@ -98,7 +98,7 @@ <if test="scoretype != null">scoretype,</if> <if test="score != null">score,</if> <if test="showtype != null">showtype,</if> - <if test="picturePath != null">picture_path,</if> + <if test="scriptPicture != null">script_picture,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="scriptType != null">#{scriptType},</if> @@ -126,7 +126,7 @@ <if test="scoretype != null">#{scoretype},</if> <if test="score != null">#{score},</if> <if test="showtype != null">#{showtype},</if> - <if test="picturePath != null">#{picturePath},</if> + <if test="scriptPicture != null">#{scriptPicture},</if> </trim> </insert> @@ -159,6 +159,7 @@ <if test="score != null">score = #{score},</if> <if test="showtype != null">showtype = #{showtype},</if> <if test="picturePath != null">picture_path = #{picturePath},</if> + <if test="scriptPicture != null">script_picture = #{scriptPicture},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3