1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 04:01:29 +00:00
This commit is contained in:
“fudali113” 2016-07-20 15:33:30 +08:00
parent ec521ad166
commit 530c32017c

View File

@ -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 != "" {