mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Mysql time to datetime bug
This commit is contained in:
parent
023d9e3049
commit
249da2b379
@ -251,7 +251,7 @@ namespace SqlSugar
|
||||
CheckType(bind.DateThrow, bindProperyTypeName, validPropertyName, propertyName);
|
||||
if (bindProperyTypeName == "datetime")
|
||||
method = isNullableType ? getConvertDateTime : getDateTime;
|
||||
if (bindProperyTypeName == "datetime"&&dbTypeName == "time")
|
||||
if (bindProperyTypeName == "datetime"&&dbTypeName.ToLower() == "time")
|
||||
method = isNullableType ? getConvertTime : getTime;
|
||||
break;
|
||||
case CSharpDataType.@decimal:
|
||||
|
Loading…
Reference in New Issue
Block a user