From 9b540b646aa7171d3d3ba707457b86445dc71dc7 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Mon, 09 Sep 2024 20:04:23 +0800
Subject: [PATCH] 1、事件流转相关接口优化

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/dao/mapper/xml/FlowNodeMapper.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/dao/mapper/xml/FlowNodeMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/dao/mapper/xml/FlowNodeMapper.xml
index 351cdd4..ab4d572 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/dao/mapper/xml/FlowNodeMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/dao/mapper/xml/FlowNodeMapper.xml
@@ -5,7 +5,7 @@
  * @description: 自定义sql,请自行实现业务逻辑
  * @company: hugeinfo
  * @author: liyj
- * @time:2024-09-06 15:50:06
+ * @time:2024-09-08 15:09:08
  * @version 1.0.0
 -->
 <mapper namespace="cn.huge.module.flow.dao.mapper.FlowNodeMapper">
@@ -22,6 +22,8 @@
             <result property="nodeIcon" column="node_icon"/>
             <result property="apiType" column="api_type"/>
             <result property="api" column="api"/>
+            <result property="caseProcess" column="case_process"/>
+            <result property="caseProcessName" column="case_process_name"/>
             <result property="expire" column="expire"/>
             <result property="candeType" column="cande_type"/>
             <result property="candeUnitId" column="cande_unit_id"/>
@@ -55,6 +57,8 @@
         node_icon,
         api_type,
         api,
+        case_process,
+        case_process_name,
         expire,
         cande_type,
         cande_unit_id,
@@ -85,6 +89,8 @@
             <if test="entity.nodeIcon != null">node_icon = #{entity.nodeIcon},</if>
             <if test="entity.apiType != null">api_type = #{entity.apiType},</if>
             <if test="entity.api != null">api = #{entity.api},</if>
+            <if test="entity.caseProcess != null">case_process = #{entity.caseProcess},</if>
+            <if test="entity.caseProcessName != null">case_process_name = #{entity.caseProcessName},</if>
             <if test="entity.expire != null">expire = #{entity.expire},</if>
             <if test="entity.candeType != null">cande_type = #{entity.candeType},</if>
             <if test="entity.candeUnitId != null">cande_unit_id = #{entity.candeUnitId},</if>
@@ -140,6 +146,12 @@
                 <if test="terms.api != null and terms.api !=''">
                     and api = #{terms.api}
                 </if>
+                <if test="terms.caseProcess != null and terms.caseProcess !=''">
+                    and case_process = #{terms.caseProcess}
+                </if>
+                <if test="terms.caseProcessName != null and terms.caseProcessName !=''">
+                    and case_process_name = #{terms.caseProcessName}
+                </if>
                 <if test="terms.expire != null and terms.expire !=''">
                     and expire = #{terms.expire}
                 </if>

--
Gitblit v1.8.0