From 0c621621889c90a119e2ff9e41c4f5528f395f7e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 16 五月 2025 16:04:18 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml index 4eaf56e..a858e13 100644 --- a/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml @@ -173,8 +173,8 @@ </if> </trim> <where> - <if test="id != null">and id = #{id},</if> - <if test="taskId != null">and task_id = #{taskId},</if> + <if test="id != null">and id = #{id}</if> + <if test="taskId != null">and task_id = #{taskId}</if> </where> </update> @@ -193,8 +193,8 @@ update_time = sysdate() </trim> <where> - <if test="id != null">and id = #{id},</if> - <if test="taskId != null">and task_id = #{taskId},</if> + <if test="id != null">and id = #{id}</if> + <if test="taskId != null">and task_id = #{taskId}</if> </where> </update> -- Gitblit v1.9.3