From 5d1d54e83546ba9fc85c69b32287883d04f4a475 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 01 十一月 2024 18:56:13 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml index 383dac3..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"/> @@ -24,11 +25,13 @@ <result property="orgid" column="orgid"/> <result property="pid" column="pid"/> <result property="guid" column="guid"/> + <result property="remark" column="remark"/> </resultMap> <sql id="selectServiceSubtaskRecordVo"> select id, taskid, + subtask_id, uuid, tasktype, preachform, @@ -45,6 +48,7 @@ upload_time, orgid, pid, + remark, guid from service_subtask_record </sql> @@ -54,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> @@ -66,6 +71,7 @@ <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> <if test="pid != null ">and pid = #{pid}</if> <if test="guid != null and guid != ''">and guid = #{guid}</if> + <if test="remark != null and remark != ''">and remark = #{remark}</if> </where> </select> @@ -96,6 +102,8 @@ <if test="orgid != null">orgid,</if> <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> @@ -117,6 +125,8 @@ <if test="orgid != null">#{orgid},</if> <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> @@ -141,6 +151,8 @@ <if test="orgid != null">orgid = #{orgid},</if> <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