From ebf745653041ac8da2d365e3c80c92b273c2bbc4 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 06 七月 2024 17:45:39 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
index 8cdd88c..e92b3f1 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
@@ -10,7 +10,7 @@
<result property="svyid" column="svyid"/>
<result property="scripttype" column="script_type"/>
<result property="scriptcode" column="script_code"/>
- <result property="script" column="script"/>
+ <result property="scriptDesc" column="script_desc"/>
<result property="scriptPicture" column="script_picture"/>
<result property="sort" column="sort"/>
<result property="ismandatory" column="ismandatory"/>
@@ -35,7 +35,7 @@
<result property="scoretype" column="scoretype"/>
<result property="score" column="score"/>
<result property="icd10Name" column="icd10_name"/>
- <result property="topic" column="topic"/>
+ <result property="scriptTopic" column="script_topic"/>
</resultMap>
<sql id="selectSvyLibScriptVo">
@@ -48,8 +48,8 @@
svyid,
script_type,
script_code,
- script,
- topic,
+ script_desc,
+ script_topic,
sort,
ismandatory,
ishide,
@@ -93,7 +93,7 @@
<if test="language != null and language != ''">and language = #{language}</if>
<if test="scoretype != null and scoretype != ''">and scoretype = #{scoretype}</if>
<if test="score != null and score != ''">and score = #{score}</if>
- <if test="topic != null and topic != ''">and topic = #{topic}</if>
+ <if test="scriptTopic != null and scriptTopic != ''">and script_topic = #{scriptTopic}</if>
</where>
order by id desc
</select>
@@ -111,7 +111,7 @@
<if test="svyid != null">svyid,</if>
<if test="scripttype != null">script_type,</if>
<if test="scriptcode != null">script_code,</if>
- <if test="script != null">script,</if>
+ <if test="scriptDesc != null">script_desc,</if>
<if test="sort != null">sort,</if>
<if test="ismandatory != null">ismandatory,</if>
<if test="ishide != null">ishide,</if>
@@ -136,14 +136,14 @@
<if test="score != null and score!=''">score,</if>
<if test="icd10Name != null and icd10Name!=''">icd10_name,</if>
<if test="scriptPicture != null and scriptPicture != ''">script_picture,</if>
- <if test="topic != null and topic != ''">topic,</if>
+ <if test="scriptTopic != null and scriptTopic != ''">script_topic,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oldid != null">#{oldid},</if>
<if test="svyid != null">#{svyid},</if>
<if test="scripttype != null">#{scripttype},</if>
<if test="scriptcode != null">#{scriptcode},</if>
- <if test="script != null">#{script},</if>
+ <if test="scriptDesc != null">#{scriptDesc},</if>
<if test="sort != null">#{sort},</if>
<if test="ismandatory != null">#{ismandatory},</if>
<if test="ishide != null">#{ishide},</if>
@@ -168,7 +168,7 @@
<if test="score != null and score!=''">#{score},</if>
<if test="icd10Name != null and icd10Name!=''">#{icd10Name},</if>
<if test="scriptPicture != null and scriptPicture != ''">#{scriptPicture},</if>
- <if test="topic != null and topic != ''">#{topic},</if>
+ <if test="scriptTopic != null and scriptTopic != ''">#{scriptTopic},</if>
</trim>
</insert>
@@ -179,7 +179,7 @@
<if test="svyid != null">svyid = #{svyid},</if>
<if test="scripttype != null">script_type = #{scripttype},</if>
<if test="scriptcode != null">script_code = #{scriptcode},</if>
- <if test="script != null">script = #{script},</if>
+ <if test="scriptDesc != null">script_desc = #{scriptDesc},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="ismandatory != null">ismandatory = #{ismandatory},</if>
<if test="ishide != null">ishide = #{ishide},</if>
@@ -204,7 +204,7 @@
<if test="score != null and score!=''">score = #{score},</if>
<if test="icd10Name != null and icd10Name!=''">icd10_name = #{icd10Name},</if>
<if test="scriptPicture != null and scriptPicture != ''">script_picture = #{scriptPicture},</if>
- <if test="topic != null and topic != ''">topic = #{topic},</if>
+ <if test="scriptTopic != null and scriptTopic != ''">script_topic = #{scriptTopic},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3