From c7fd687b61cd48deb75325183e230a3c33b345e8 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期三, 15 三月 2023 23:26:23 +0800
Subject: [PATCH] 优化保养转单功能

---
 java110-db/src/main/resources/mapper/oa/OaWorkflowServiceDaoImplMapper.xml |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/oa/OaWorkflowServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/oa/OaWorkflowServiceDaoImplMapper.xml
index 185e3db..bf8678e 100644
--- a/java110-db/src/main/resources/mapper/oa/OaWorkflowServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/OaWorkflowServiceDaoImplMapper.xml
@@ -20,7 +20,7 @@
         select t.describle,t.model_id,t.model_id modelId,t.status_cd,t.status_cd statusCd,t.flow_key,t.flow_key
         flowKey,t.store_id,t.store_id storeId,t.flow_id,t.flow_id flowId,t.flow_name,t.flow_name
         flowName,t.flow_type,t.flow_type flowType,t.process_definition_key,t.process_definition_key processDefinitionKey,
-        t.create_time createTime,t.state
+        t.create_time createTime,t.state,t.cur_form_id curFormId
         from oa_workflow t
         where 1 =1
         <if test="describle !=null and describle != ''">
@@ -41,6 +41,12 @@
         <if test="flowId !=null and flowId != ''">
             and t.flow_id= #{flowId}
         </if>
+        <if test="flowIds !=null ">
+            and t.flow_id in
+            <foreach collection="flowIds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="flowName !=null and flowName != ''">
             and t.flow_name= #{flowName}
         </if>
@@ -49,6 +55,9 @@
         </if>
         <if test="flowType !=null and flowType != ''">
             and t.flow_type= #{flowType}
+        </if>
+        <if test="curFormId !=null and curFormId != ''">
+            and t.cur_form_id= #{curFormId}
         </if>
         <if test="processDefinitionKey !=null and processDefinitionKey != ''">
             and t.process_definition_key= #{processDefinitionKey}
@@ -85,6 +94,9 @@
         </if>
         <if test="flowType !=null and flowType != ''">
             , t.flow_type= #{flowType}
+        </if>
+        <if test="curFormId !=null and curFormId != ''">
+            , t.cur_form_id= #{curFormId}
         </if>
         <if test="processDefinitionKey !=null and processDefinitionKey != ''">
             , t.process_definition_key= #{processDefinitionKey}
@@ -131,6 +143,9 @@
         <if test="flowType !=null and flowType != ''">
             and t.flow_type= #{flowType}
         </if>
+        <if test="curFormId !=null and curFormId != ''">
+            and t.cur_form_id= #{curFormId}
+        </if>
         <if test="processDefinitionKey !=null and processDefinitionKey != ''">
             and t.process_definition_key= #{processDefinitionKey}
         </if>

--
Gitblit v1.8.0