Ver código fonte

省局联审接口完成

master
PoffyZhang 1 ano atrás
pai
commit
41f250afe1
4 arquivos alterados com 9 adições e 3 exclusões
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/ProcDefController.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/controller/DeclaredProjectController.java
  3. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/InitProcessTask.java
  4. +5
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/SysProcDefController.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/ProcDefController.java Ver arquivo

@@ -66,7 +66,7 @@ public class ProcDefController {
@ApiOperation(value = "单位流程配置部署", notes = "单位流程配置部署")
@PostMapping("/deploy/{processDefId}")
public String deploy(@Validated @PathVariable String processDefId) {
return orgProcessModelService.deployProcess(processDefId);
return orgProcessModelService.deployProcess(processDefId,null);
}

@ApiOperation(value = "单位流程配置删除", notes = "单位流程配置删除")


+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/controller/DeclaredProjectController.java Ver arquivo

@@ -1,6 +1,7 @@
package com.ningdatech.pmapi.projectdeclared.controller;

import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.projectdeclared.manage.DefaultDeclaredProjectManage;
import com.ningdatech.pmapi.projectdeclared.model.dto.DeclaredProjectListParamDTO;
import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO;
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO;


+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/InitProcessTask.java Ver arquivo

@@ -14,6 +14,7 @@ import com.ningdatech.pmapi.sys.service.IRegionService;
import com.wflow.bean.dto.WflowModelHistorysDto;
import com.wflow.bean.entity.WflowForms;
import com.wflow.bean.entity.WflowModels;
import com.wflow.workflow.bean.dto.OrgInfoDTO;
import com.wflow.workflow.bean.process.ProcessNode;
import com.wflow.workflow.service.ProcessModelService;
import com.wflow.workflow.service.WflowFormsService;
@@ -122,7 +123,7 @@ public class InitProcessTask {

if(StringUtils.isNotBlank(processModelService.saveProcess(models))){
//初始的流程在部署表也存一份,用来查询
if(StringUtils.isNotBlank(processModelService.deployProcess(models.getFormId()))){
if(StringUtils.isNotBlank(processModelService.deployProcess(models.getFormId(),null))){
log.info("当前区域 【{}】 流程名[{}] 流程数据已经保存成功",region.getName(),formName);
}else{
log.info("当前区域 【{}】 流程名[{}] 流程数据保存失败",region.getName(),formName);


+ 5
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/SysProcDefController.java Ver arquivo

@@ -1,6 +1,8 @@
package com.ningdatech.pmapi.sys.controller;

import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.projectdeclared.manage.DefaultDeclaredProjectManage;
import com.ningdatech.pmapi.user.util.LoginUserUtil;
import com.wflow.bean.dto.WflowModelHistorysDto;
import com.wflow.bean.vo.WflowModelVo;
import com.wflow.service.ModelGroupService;
@@ -30,6 +32,8 @@ public class SysProcDefController {

private final ProcessModelService processModelService;

private final DefaultDeclaredProjectManage defaultDeclaredProjectManage;

@ApiOperation(value = "系统流程配置列表", notes = "系统流程配置列表")
@GetMapping("/list")
public PageVo<WflowModelVo> list(@RequestParam String regionCode, @RequestParam(defaultValue = "1") Integer pageNumber,
@@ -60,6 +64,6 @@ public class SysProcDefController {
@ApiOperation(value = "系统流程配置发布", notes = "系统流程配置发布")
@PostMapping("/deploy/{formId}")
public String deploy(@Validated @PathVariable String formId) {
return processModelService.deployProcess(formId);
return processModelService.deployProcess(formId,null);
}
}

Carregando…
Cancelar
Salvar