Pārlūkot izejas kodu

返回流程状态到详情

hubin 10 mēneši atpakaļ
vecāks
revīzija
9426bf2c58

+ 4 - 0
src/main/java/com/aizuda/boot/modules/flw/entity/dto/FlwProcessDTO.java

@@ -50,6 +50,9 @@ public class FlwProcessDTO {
     @Schema(description = "使用范围 0,全员 1,指定人员(业务关联) 2,均不可提交")
     private Integer useScope = 0;
 
+    @Schema(description = "流程状态 0,不可用 1,可用 2,历史版本")
+    protected Integer processState;
+
     @Schema(description = "流程定义权限")
     private List<FlwProcessPermissionDTO> processPermissionList;
 
@@ -84,6 +87,7 @@ public class FlwProcessDTO {
         dto.setProcessIcon(flwProcess.getProcessIcon());
         dto.setProcessType(flwProcess.getProcessType());
         dto.setUseScope(flwProcess.getUseScope());
+        dto.setProcessState(flwProcess.getProcessState());
         dto.setModelContent(flwProcess.getModelContent());
         dto.setRemark(flwProcess.getRemark());
         return dto;