mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Synchronization code
This commit is contained in:
@@ -784,7 +784,7 @@ namespace SqlSugar
|
|||||||
isValueBool = isValue && isBool && isRoot;
|
isValueBool = isValue && isBool && isRoot;
|
||||||
isLength = memberName == "Length" && childIsMember && childExpression.Type == UtilConstants.StringType;
|
isLength = memberName == "Length" && childIsMember && childExpression.Type == UtilConstants.StringType;
|
||||||
isDateValue = memberName.IsIn(Enum.GetNames(typeof(DateType))) && (childIsMember && childExpression.Type == UtilConstants.DateType);
|
isDateValue = memberName.IsIn(Enum.GetNames(typeof(DateType))) && (childIsMember && childExpression.Type == UtilConstants.DateType);
|
||||||
if (isDateValue == false && childExpression?.Type?.FullName == "System.DateOnly"&& memberName.IsIn(Enum.GetNames(typeof(DateType))))
|
if (isDateValue == false && childIsMember && childExpression?.Type?.FullName == "System.DateOnly"&& memberName.IsIn(Enum.GetNames(typeof(DateType))))
|
||||||
{
|
{
|
||||||
isDateValue = true;
|
isDateValue = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user