dengbiao 1 周之前
父節點
當前提交
ef7ecbd0db
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/super/implement/user_open_permission_implement.go

+ 1
- 1
src/super/implement/user_open_permission_implement.go 查看文件

@@ -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
}

Loading…
取消
儲存