From 06a760eeff94fcef9c24f35cade8b7e4738608ab Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 5 May 2022 14:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Common/DTO/FrontAuditConfigViewModel.cs | 8 ++++---- .../Service/Common/FrontAuditConfigService.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs index a2f4e3ef9..63d16a2f7 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs @@ -120,9 +120,9 @@ namespace IRaCIS.Core.Application.ViewModel public Guid? ParentId { get; set; } public bool IsEnable { get; set; } public bool IsConfig { get; set; } - public string ModuleTypeId { get; set; } = string.Empty; - public string OptTypeId { get; set; } = string.Empty; - public string ChildrenTypeId { get; set; } = string.Empty; + public Guid? ModuleTypeId { get; set; } + public Guid? OptTypeId { get; set; } + public Guid? ChildrenTypeId { get; set; } public string ConfigType { get; set; } = string.Empty; @@ -136,7 +136,7 @@ namespace IRaCIS.Core.Application.ViewModel public string EnumType { get; set; } = string.Empty; - public string ObjectTypeId { get; set; } = string.Empty; + public Guid? ObjectTypeId { get; set; } public bool? IsShowByTrialConfig { get; set; } diff --git a/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs index 8adf6aacf..107076772 100644 --- a/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs +++ b/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs @@ -171,7 +171,7 @@ namespace IRaCIS.Core.Application.Service DictionaryCode = lst.Max(x => x.DictionaryCode), DictionaryType = lst.Max(x => x.DictionaryType), DateType = lst.Select(x => x.DateType).FirstOrDefault(), - Id =Guid.NewGuid(), + Id =NewId.NextGuid()//新id, }).ToList(); // 获取已存在的所有名称