From 6f1e752bf00b584c8a17569578fa8e54cdb71b60 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 27 十月 2025 13:34:59 +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