From 73bc34789fd83de69bbc6b2a2c13b017dd2e944e Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Tue, 11 Jul 2023 16:17:40 +0800 Subject: [PATCH 1/2] 1 --- .../src/Faster.Zheng.Winin.Web/appsettings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Web/appsettings.json b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Web/appsettings.json index 4ddfb92..522269e 100644 --- a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Web/appsettings.json +++ b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Web/appsettings.json @@ -35,7 +35,8 @@ //}, "ConnectionStrings": { //"Default": "Server=.;Database=Faster.Zheng.Winin;uid=sa;pwd=sasa;timeout=6000;Encrypt=False" - "Default": "Server=dev.ccwin-in.com,13319;Database=Faster.Zheng.Winin;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;" + "Default": "Server=dev.ccwin-in.com,13319;Database=Faster.Zheng.Winin;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;", + "DataExchange": "Server=dev.ccwin-in.com,13319;Database=AIC_DataExchange;Uid=ccwin-in;Pwd=Microsoft@2022;timeout=6000;Encrypt=False;" }, "StringEncryption": { "DefaultPassPhrase": "Aj66rJI3krHbVhS6" From d569d7f530b6c90e253fd1c9066ce8e9331c7016 Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Thu, 13 Jul 2023 11:37:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=97=B6=20=E6=97=A0=E6=B3=95=E5=A4=84?= =?UTF-8?q?=E7=90=86int=3Fstring=3F=E8=BF=99=E6=A0=B7=E7=9A=84=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppBase/Filters/FilterExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application.Contracts/AppBase/Filters/FilterExtensions.cs b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application.Contracts/AppBase/Filters/FilterExtensions.cs index 173eaba..7f75390 100644 --- a/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application.Contracts/AppBase/Filters/FilterExtensions.cs +++ b/Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application.Contracts/AppBase/Filters/FilterExtensions.cs @@ -148,12 +148,12 @@ public static class FilterExtensions { var objValue = Convert.ChangeType(value, propertyType.GetGenericArguments()[0], CultureInfo.InvariantCulture); - constant = Expression.Constant(objValue); + constant = Expression.Constant(objValue, propertyType); } else if (propertyType.IsEnum) { var enumValue = (Enum)Enum.Parse(propertyType, value, true); - constant = Expression.Constant(enumValue); + constant = Expression.Constant(enumValue, propertyType); } else {