Skip to content

Commit

Permalink
1.修复使用db.Where("\"NUMBER\"")诸如重复加关键字符号导致的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
tobycroft committed Oct 30, 2023
1 parent 3e4fe93 commit 6bec71e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builder_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ func (b *BuilderOracle) BuildReplace(update, where string) (select_sql, on_sql,
warr = append(warr, b.AddFieldQuotesOracle(ws))
on_sql += " t." + b.AddFieldQuotesOracle(ws) + "=" + "d." + b.AddFieldQuotesOracle(ws) + ""
}
fmt.Println(warr)
data1 := strings.Split(update, ",")
for i, data := range data1 {
data_kv := strings.Split(data, "=")
Expand Down

0 comments on commit 6bec71e

Please sign in to comment.