mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -96,11 +96,6 @@ namespace SqlSugar
|
|||||||
batchInsetrSql.AppendLine("SELECT 1 FROM DUAL");
|
batchInsetrSql.AppendLine("SELECT 1 FROM DUAL");
|
||||||
}
|
}
|
||||||
var result= batchInsetrSql.ToString();
|
var result= batchInsetrSql.ToString();
|
||||||
if (result.Contains("{SugarSeq:=}"))
|
|
||||||
{
|
|
||||||
result = result.Replace("\"{SugarSeq:=}", "");
|
|
||||||
result = result.Replace("{SugarSeq:=}\"", "");
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -113,6 +108,10 @@ namespace SqlSugar
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var type = UtilMethods.GetUnderType(value.GetType());
|
var type = UtilMethods.GetUnderType(value.GetType());
|
||||||
|
if (type == UtilConstants.StringType && value.ToString().Contains("{SugarSeq:=}"))
|
||||||
|
{
|
||||||
|
return value.ToString().Replace("{SugarSeq:=}", "");
|
||||||
|
}
|
||||||
if (type == UtilConstants.DateType)
|
if (type == UtilConstants.DateType)
|
||||||
{
|
{
|
||||||
var date = value.ObjToDate();
|
var date = value.ObjToDate();
|
||||||
|
Reference in New Issue
Block a user