From 159cf93328162f13b213869eefe14d30dc888a96 Mon Sep 17 00:00:00 2001 From: mol2028 <9648159+mol2028@user.noreply.gitee.com> Date: Sat, 2 Dec 2023 07:32:50 +0000 Subject: [PATCH] =?UTF-8?q?update=20backend/Magic.FlowCenter/Service/Flows?= =?UTF-8?q?cheme/FlcFlowschemeService.cs.=20=E4=BF=AE=E6=94=B9=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E7=BC=96=E5=8F=B7=E5=BA=94=E5=8F=96=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E7=9A=84=E8=A1=A8=E5=8D=95=E7=BC=96=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: mol2028 <9648159+mol2028@user.noreply.gitee.com> --- .../Service/Flowscheme/FlcFlowschemeService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs b/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs index f8e8be2..d77c290 100644 --- a/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs +++ b/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs @@ -1,4 +1,4 @@ -using Furion.DependencyInjection; +using Furion.DependencyInjection; using Furion.DynamicApiController; using Furion.FriendlyException; using Magic.Core; @@ -135,7 +135,7 @@ public class FlcFlowschemeService : IFlcFlowschemeService if (isExist) throw Oops.Oh(ErrorCode.D2002); var entity = input.Adapt(); - var formEntity = await _flcFormService.Get(new PrimaryKeyParam { Id = flcFlow.FrmId.ParseToLong() }); + var formEntity = await _flcFormService.Get(new PrimaryKeyParam { Id = input.FrmId.ParseToLong() }); if (formEntity == null) throw Oops.Oh(ErrorCode.F1000); entity.FrmType=formEntity.FrmType; -- Gitee