From 7514bf8d0822d61faa35303fdf6f767a4fda5878 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 31 Mar 2022 09:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20EnumType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Common/DTO/FrontAuditConfigViewModel.cs | 4 ++++ .../Service/Common/FrontAuditConfigService.cs | 4 ++-- IRaCIS.Core.Domain/Common/FrontAuditConfig.cs | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs index 0a667ce46..8cd1a5f81 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs @@ -46,6 +46,8 @@ namespace IRaCIS.Core.Application.ViewModel public string? DictionaryKey { get; set; } + public string? EnumType { get; set; } + } @@ -101,6 +103,8 @@ namespace IRaCIS.Core.Application.ViewModel public string DictionaryKey { get; set; } = string.Empty; + public string EnumType { get; set; } = string.Empty; + } diff --git a/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs index a83a64975..a582de3eb 100644 --- a/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs +++ b/IRaCIS.Core.Application/Service/Common/FrontAuditConfigService.cs @@ -71,8 +71,8 @@ namespace IRaCIS.Core.Application.Service ValueCN = data.ValueCN, ChildrenTypeValue = leftchildrenType.Value, EnumList=data.EnumList, - DictionaryKey=data.DictionaryKey - + DictionaryKey=data.DictionaryKey, + EnumType=data.EnumType, }; query = query diff --git a/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs b/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs index caca40986..dfcc6c5d6 100644 --- a/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs +++ b/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs @@ -106,6 +106,8 @@ namespace IRaCIS.Core.Domain.Models public string DictionaryKey { get; set; } + public string EnumType { get; set; } + }