From 80f3b4cf534339a5d9985433caddc9e5264c7de0 Mon Sep 17 00:00:00 2001 From: ddlucky Date: Fri, 26 May 2023 15:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=9F=A5=E8=AF=A2=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E5=BC=8F=E7=9A=84dic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/System/Partial/Sys_DictionaryService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vue.Net/VOL.System/Services/System/Partial/Sys_DictionaryService.cs b/Vue.Net/VOL.System/Services/System/Partial/Sys_DictionaryService.cs index 5f98aa9c..add18752 100644 --- a/Vue.Net/VOL.System/Services/System/Partial/Sys_DictionaryService.cs +++ b/Vue.Net/VOL.System/Services/System/Partial/Sys_DictionaryService.cs @@ -91,6 +91,9 @@ namespace VOL.System.Services return data as object; } + dbSql.Replace("'value'", "'text'"); + dbSql.Replace("'key'", "'value'"); + return repository.DapperContext.QueryList(dbSql, null); } return dicConfig.Select(item => new