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/SvyLibScriptMapper.xml | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
index 5444bdc..1779932 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
@@ -11,6 +11,7 @@
<result property="scripttype" column="script_type"/>
<result property="scriptcode" column="script_code"/>
<result property="script" column="script"/>
+ <result property="scriptPicture" column="script_picture"/>
<result property="sort" column="sort"/>
<result property="ismandatory" column="ismandatory"/>
<result property="ishide" column="ishide"/>
@@ -31,17 +32,24 @@
<result property="otherdata" column="otherdata"/>
<result property="valueType" column="value_type"/>
<result property="reply" column="reply"/>
+ <result property="scoretype" column="scoretype"/>
+ <result property="score" column="score"/>
+ <result property="icd10Name" column="icd10_name"/>
+ <result property="topic" column="topic"/>
</resultMap>
<sql id="selectSvyLibScriptVo">
select id,
oldid,
+ scoretype,
+ score,
value_type,
reply,
svyid,
script_type,
script_code,
script,
+ topic,
sort,
ismandatory,
ishide,
@@ -59,7 +67,9 @@
suitway,
isavailable,
otherdata,
+ script_picture,
language,
+ icd10_name,
svy_scriptid as svyscriptId
from svy_lib_script
</sql>
@@ -73,6 +83,7 @@
<if test="scripttype != null and scripttype != ''">and script_type = #{scripttype}</if>
<if test="categoryid != null ">and categoryid = #{categoryid}</if>
<if test="script != null and script != ''">and script like concat('%', #{script}, '%')</if>
+ <if test="icd10Name != null and icd10Name != ''">and icd10_name like concat('%', #{icd10Name}, '%')</if>
<if test="ishide != null ">and ishide = #{ishide}</if>
<if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
@@ -81,6 +92,9 @@
<if test="suitway != null and suitway != ''">and suitway = #{suitway}</if>
<if test="isavailable != null and isavailable != ''">and isavailable = #{isavailable}</if>
<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>
</where>
</select>
@@ -119,6 +133,11 @@
<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>
+ <if test="scoretype != null and scoretype!=''">scoretype,</if>
+ <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>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="oldid != null">#{oldid},</if>
@@ -147,6 +166,11 @@
<if test="otherdata != null and otherdata!=''">#{otherdata},</if>
<if test="valueType != null and valueType!=''">#{valueType},</if>
<if test="reply != null and reply!=''">#{therdata},</if>
+ <if test="scoretype != null and scoretype!=''">#{scoretype},</if>
+ <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>
</trim>
</insert>
@@ -178,6 +202,11 @@
<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>
+ <if test="scoretype != null and scoretype!=''">scoretype = #{scoretype},</if>
+ <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>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3