|
@@ -42,10 +42,7 @@ public class OrganizationProcdefController { |
|
|
@ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情") |
|
|
@ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情") |
|
|
@GetMapping("/detail/{processDefId}") |
|
|
@GetMapping("/detail/{processDefId}") |
|
|
public OrgProcdefVo detail(@PathVariable String 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 = "单位流程配置保存") |
|
|
@ApiOperation(value = "单位流程配置保存", notes = "单位流程配置保存") |
|
|