|
|
@@ -35,8 +35,8 @@ public class OrganizationProcdefController { |
|
|
|
@ApiOperation(value = "单位流程配置列表", notes = "单位流程配置列表") |
|
|
|
@GetMapping("/list") |
|
|
|
public PageVo<OrgProcdefVo> list(@RequestParam String orgCode, @RequestParam(defaultValue = "1") Integer pageNum, |
|
|
|
@RequestParam(defaultValue = "10") Integer pageSize) { |
|
|
|
return orgProcdefService.getOrgProcessByOrgCode(orgCode,pageNum,pageSize); |
|
|
|
@RequestParam(defaultValue = "10") Integer pageSize) { |
|
|
|
return orgProcdefService.getOrgProcessByOrgCode(orgCode, pageNum, pageSize); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情") |
|
|
@@ -44,7 +44,7 @@ public class OrganizationProcdefController { |
|
|
|
public OrgProcdefVo detail(@PathVariable String procdefId) { |
|
|
|
WflowOrgModelHistorys lastVersionModel = orgProcessModelService.getLastVersionModel(procdefId); |
|
|
|
OrgProcdefVo vo = new OrgProcdefVo(); |
|
|
|
BeanUtils.copyProperties(lastVersionModel,vo); |
|
|
|
BeanUtils.copyProperties(lastVersionModel, vo); |
|
|
|
return vo; |
|
|
|
} |
|
|
|
|
|
|
|