Browse Source

Merge remote-tracking branch 'origin/master'

master
WendyYang 1 year ago
parent
commit
17f21ba8db
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java

+ 1
- 4
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java View File

@@ -42,10 +42,7 @@ public class OrganizationProcdefController {
@ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情")
@GetMapping("/detail/{processDefId}")
public OrgProcdefVo detail(@PathVariable String processDefId) {
WflowOrgModelHistorys lastVersionModel = orgProcessModelService.getLastVersionModel(processDefId);
OrgProcdefVo vo = new OrgProcdefVo();
BeanUtils.copyProperties(lastVersionModel, vo);
return vo;
return orgProcessModelService.getProcess(processDefId);
}

@ApiOperation(value = "单位流程配置保存", notes = "单位流程配置保存")


Loading…
Cancel
Save