Browse Source

bugs

master
LinsRuis.HW1 3 months ago
parent
commit
e4dfa4aa12
  1. 4
      core/comms/xorms.go

4
core/comms/xorms.go

@ -19,8 +19,10 @@ func XormOneDb(db *gocloud.DBHelper, id, data interface{}, columns ...interface{
col := "id"
if len(columns) > 0 {
cols, ok := columns[0].(string)
if ok && cols != "" {
if ok {
if cols != "" {
col = cols
}
} else {
ses = ses.Table(columns[0])
}

Loading…
Cancel
Save