mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 21:01:59 +08:00
Synchronization code
This commit is contained in:
@@ -74,6 +74,10 @@ namespace SqlSugar
|
||||
{
|
||||
return db.GetDate();
|
||||
}
|
||||
else if (value is DateTimeOffset)
|
||||
{
|
||||
return ((DateTimeOffset)value).DateTime;
|
||||
}
|
||||
else if (UtilMethods.GetUnderType(value.GetType()) != UtilConstants.DateType)
|
||||
{
|
||||
throw new Exception($"DateSplitTableService Split column {splitColumn.PropertyName} not DateTime " + splitType.ToString());
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.129</version>
|
||||
<version>5.1.4.130-preview02</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
||||
Reference in New Issue
Block a user