mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update 人大金仓[SqlServer]
This commit is contained in:
@@ -653,8 +653,12 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return resulut.Select<T>("unionTable.*");
|
return resulut.Select<T>("unionTable.*");
|
||||||
}
|
}
|
||||||
else
|
else if (this.Context.CurrentConnectionConfig?.MoreSettings?.IsWithNoLockQuery==true)
|
||||||
{
|
{
|
||||||
|
return resulut.Select<T>(sqlBuilder.SqlSelectAll).With(SqlWith.Null);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
return resulut.Select<T>(sqlBuilder.SqlSelectAll);
|
return resulut.Select<T>(sqlBuilder.SqlSelectAll);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -134,6 +134,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
var value = GetNewExpressionValue(express.Object);
|
var value = GetNewExpressionValue(express.Object);
|
||||||
var dateString2 = this.Context.DbMehtods.GetDateString(value, format);
|
var dateString2 = this.Context.DbMehtods.GetDateString(value, format);
|
||||||
|
if (IsSqlServerModel())
|
||||||
|
{
|
||||||
|
dateString2= string.Format("FORMAT({0},'{1}','en-US')", value, format);
|
||||||
|
}
|
||||||
if (dateString2 == null)
|
if (dateString2 == null)
|
||||||
{
|
{
|
||||||
var dateString = GeDateFormat(format, value);
|
var dateString = GeDateFormat(format, value);
|
||||||
|
Reference in New Issue
Block a user