Pārlūkot izejas kodu

添加当前节点名称

yzc 1 gadu atpakaļ
vecāks
revīzija
18f0342a30

+ 2 - 2
hx-flow/src/main/java/com/fjhx/flow/entity/flow/vo/FlowExampleVo.java

@@ -20,9 +20,9 @@ public class FlowExampleVo extends FlowExample {
     private String createUserName;
 
     /**
-     * 当前处理人名称
+     * 当前节点名称
      */
-    private String handleUserName;
+    private String nodeName;
 
     /**
      * 流程key

+ 2 - 1
hx-flow/src/main/resources/mapper/flow/FlowExampleMapper.xml

@@ -12,10 +12,11 @@
                fe.create_time,
                fe.business_id,
                fe.version,
-               fe.handle_user_id
+               fdn.node_name
         from flow_info fi
                  inner join flow_definition fd on fd.flow_info_id = fi.id
                  inner join flow_example fe on fe.definition_id = fd.id
+                 INNER JOIN flow_definition_node fdn ON fe.definition_node_id = fdn.id
             ${ew.customSqlSegment}
     </select>