From 52d40ac575fe20f1c4d6b6984b37b3fca8907303 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 11 十一月 2024 14:58:31 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/oa/WorkTaskItemV1ServiceDaoImplMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/oa/WorkTaskItemV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/oa/WorkTaskItemV1ServiceDaoImplMapper.xml
index aa8d272..2aab998 100644
--- a/java110-db/src/main/resources/mapper/oa/WorkTaskItemV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/WorkTaskItemV1ServiceDaoImplMapper.xml
@@ -92,9 +92,7 @@
             , t.deduction_money= #{deductionMoney}
         </if>
 
-        <if test="workId !=null and workId != ''">
-            , t.work_id= #{workId}
-        </if>
+
         <if test="deductionReason !=null and deductionReason != ''">
             , t.deduction_reason= #{deductionReason}
         </if>
@@ -119,6 +117,9 @@
         <if test="taskId !=null and taskId != ''">
             and t.task_id= #{taskId}
         </if>
+        <if test="workId !=null and workId != ''">
+            and t.work_id= #{workId}
+        </if>
 
     </update>
 

--
Gitblit v1.8.0