mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Batch operation date format processing
This commit is contained in:
parent
e33a4dc46c
commit
ce75bd5ba6
@ -165,7 +165,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type =UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -250,7 +250,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -38,7 +38,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -101,7 +101,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -95,7 +95,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -44,7 +44,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -42,7 +42,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
@ -40,7 +40,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
var type = value.GetType();
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
var date = value.ObjToDate();
|
||||
|
Loading…
Reference in New Issue
Block a user