From 580f358ce4e50816211d69ff6e31817b6593d731 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 22 十月 2024 17:32:50 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
index 3e6fd1f..2a72f0d 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
@@ -7,6 +7,7 @@
<resultMap type="com.smartor.domain.ServiceSubtaskRecord" id="ServiceSubtaskRecordResult">
<result property="id" column="id"/>
<result property="taskid" column="taskid"/>
+ <result property="subtaskId" column="subtask_id"/>
<result property="uuid" column="uuid"/>
<result property="tasktype" column="tasktype"/>
<result property="preachform" column="preachform"/>
@@ -30,6 +31,7 @@
<sql id="selectServiceSubtaskRecordVo">
select id,
taskid,
+ subtask_id,
uuid,
tasktype,
preachform,
@@ -56,6 +58,7 @@
<include refid="selectServiceSubtaskRecordVo"/>
<where>
<if test="taskid != null and taskid != ''">and taskid = #{taskid}</if>
+ <if test="subtaskId != null ">and subtask_id = #{subtaskId}</if>
<if test="uuid != null and uuid != ''">and uuid = #{uuid}</if>
<if test="tasktype != null and tasktype != ''">and tasktype = #{tasktype}</if>
<if test="preachform != null and preachform != ''">and preachform = #{preachform}</if>
@@ -100,6 +103,7 @@
<if test="pid != null">pid,</if>
<if test="guid != null">guid,</if>
<if test="remark != null">remark,</if>
+ <if test="subtaskId != null ">subtask_id,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@@ -122,6 +126,7 @@
<if test="pid != null">#{pid},</if>
<if test="guid != null">#{guid},</if>
<if test="remark != null">#{remark},</if>
+ <if test="subtaskId != null ">#{subtaskId},</if>
</trim>
</insert>
@@ -147,6 +152,7 @@
<if test="pid != null">pid = #{pid},</if>
<if test="guid != null">guid = #{guid},</if>
<if test="remark != null">remark = #{remark},</if>
+ <if test="subtaskId != null ">subtask_id = #{subtaskId},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3