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 { 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"