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