mirror of
https://github.com/astaxie/beego.git
synced 2025-06-29 03:20:18 +00:00
update
This commit is contained in:
@ -533,7 +533,7 @@ func (d *dbBase) InsertOrUpdate(q dbQuerier, mi *modelInfo, ind reflect.Value, t
|
||||
for i, v := range names {
|
||||
marks[i] = "?"
|
||||
valueStr := argsMap[v]
|
||||
if v == args0 {
|
||||
if strings.ToLower(v) == strings.ToLower(args0) {
|
||||
conflitValue = values[i]
|
||||
}
|
||||
if valueStr != "" {
|
||||
|
Reference in New Issue
Block a user