mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Oracle SubInsert bug
This commit is contained in:
parent
8fc8cbc511
commit
8e84d98b1a
@ -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;
|
||||
}
|
||||
}
|
||||
@ -112,6 +107,10 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
if (value.GetType() == UtilConstants.StringType && value.ToString().Contains("{SugarSeq:=}"))
|
||||
{
|
||||
return value.ToString().Replace("\"{SugarSeq:=}", "").Replace("{SugarSeq:=}\"", "");
|
||||
}
|
||||
var type = UtilMethods.GetUnderType(value.GetType());
|
||||
if (type == UtilConstants.DateType)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user