From 6a36b4b9b641de811338043968983216c8d6f69d Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Fri, 17 Feb 2023 15:56:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E7=A7=AF=E6=8A=95=E8=B5=84=E9=87=91?= =?UTF-8?q?=E9=A2=9D=20=E6=94=BE=E5=88=B0=E9=A1=B9=E7=9B=AE=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/organization/controller/OrganizationProcdefController.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java index 94cb5f5..11a872e 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java @@ -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 = "单位流程配置保存")