Update GBase

This commit is contained in:
sunkaixuan
2024-08-15 12:48:19 +08:00
parent 351f3c4113
commit 7b2e60214a

View File

@@ -54,9 +54,10 @@ namespace SqlSugar.GBase
if (parameter1 != null && parameter1.MemberValue != null) if (parameter1 != null && parameter1.MemberValue != null)
{ {
str = str.TrimEnd(')');
if (parameter1.MemberValue.GetType() == UtilConstants.DateType) if (parameter1.MemberValue.GetType() == UtilConstants.DateType)
{ {
str += string.Format("::{0}", _dateTimeType); str += string.Format("::{0})", _dateTimeType);
} }
} }
return str; return str;