dengbiao vor 1 Woche
Ursprung
Commit
ef7ecbd0db
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/super/implement/user_open_permission_implement.go

+ 1
- 1
src/super/implement/user_open_permission_implement.go Datei anzeigen

@@ -15,7 +15,7 @@ type UserOpenPermissionDb struct {

func (u UserOpenPermissionDb) GetUserOpenPermission(masterId int) (list []*dao.GetUserOpenPermissionResp, total int64, err error) {
total, err = u.Db.Where("user_open_permission.master_id =?", masterId).
Join("LEFT", "permission", "user_open_permission.permission_id = permission.id").
Join("LEFT", "open_permission", "user_open_permission.permission_id = open_permission.id").
FindAndCount(&list)
return
}

Laden…
Abbrechen
Speichern