diff --git a/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs b/backend/Magic.FlowCenter/Service/Flowscheme/FlcFlowschemeService.cs index f8e8be29ef68d184b710ae90c2c40f9745179728..d77c290a80c48ad6f7d3967da06bc9067ecd5b01 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;