From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 18 九月 2024 09:39:02 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
index c86f309..6b157c5 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
@@ -41,12 +41,18 @@
<result property="prologue" column="prologue"/>
<result property="instruction" column="instruction"/>
<result property="conclusion" column="conclusion"/>
+ <result property="deptCode" column="dept_code"/>
+ <result property="longTemp" column="long_temp"/>
+ <result property="sendDay" column="send_day"/>
</resultMap>
<sql id="selectSvyTaskTemplateVo">
select id,
templateid,
prologue,
+ dept_code,
+ long_temp,
+ send_day,
instruction,
conclusion,
categoryid,
@@ -87,6 +93,7 @@
resultMap="SvyTaskTemplateResult">
<include refid="selectSvyTaskTemplateVo"/>
<where>
+ del_flag=0
<if test="templateid != null ">and templateid = #{templateid}</if>
<if test="categoryid != null ">and categoryid = #{categoryid}</if>
<if test="svycode != null and svycode != ''">and svycode = #{svycode}</if>
@@ -116,6 +123,9 @@
<if test="valueType != null and valueType != ''">and value_type = #{valueType}</if>
<if test="reply != null and reply != ''">and reply = #{reply}</if>
<if test="taskid != null ">and taskid = #{taskid}</if>
+ <if test="deptCode != null ">and dept_code = #{deptCode}</if>
+ <if test="longTemp != null ">and long_temp = #{longTemp}</if>
+ <if test="sendDay != null ">and send_day = #{sendDay}</if>
</where>
</select>
@@ -163,6 +173,9 @@
<if test="prologue != null">prologue,</if>
<if test="instruction != null">instruction,</if>
<if test="conclusion != null">conclusion,</if>
+ <if test="deptCode != null ">dept_code,</if>
+ <if test="longTemp != null ">long_temp,</if>
+ <if test="sendDay != null ">send_day,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="templateid != null">#{templateid},</if>
@@ -200,6 +213,9 @@
<if test="prologue != null">#{prologue},</if>
<if test="instruction != null">#{instruction},</if>
<if test="conclusion != null">#{conclusion},</if>
+ <if test="deptCode != null ">#{deptCode},</if>
+ <if test="longTemp != null ">#{longTemp},</if>
+ <if test="sendDay != null ">#{sendDay},</if>
</trim>
</insert>
@@ -241,6 +257,9 @@
<if test="prologue != null">prologue = #{prologue},</if>
<if test="instruction != null">instruction = #{instruction},</if>
<if test="conclusion != null">conclusion = #{conclusion},</if>
+ <if test="deptCode != null ">dept_code = #{deptCode},</if>
+ <if test="longTemp != null ">long_temp = #{longTemp},</if>
+ <if test="sendDay != null ">send_day = #{sendDay},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3