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