Batch operation date format processing

This commit is contained in:
sunkaixuan
2019-01-26 00:17:16 +08:00
parent e33a4dc46c
commit ce75bd5ba6
8 changed files with 8 additions and 8 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();