From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能

---
 java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
index df1343f..bd1952d 100644
--- a/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/OaWorkflowFormServiceDaoImplMapper.xml
@@ -186,9 +186,18 @@
 
     <!-- 淇敼淇℃伅 -->
     <update id="updateOaWorkflowFormData" parameterType="Map">
-        update set ${tableName} t set t.state = #{state}
+        update ${tableName} t set t.state = #{state}
         where t.id = #{id}
     </update>
 
+    <!-- 淇敼淇℃伅 -->
+    <update id="updateOaWorkflowFormDataAll" parameterType="Map">
+        update ${tableName} set
+            <foreach collection="columns" item="item" separator=",">
+                ${item}
+            </foreach>
+        where id = #{id}
+    </update>
+
 
 </mapper>

--
Gitblit v1.8.0