浏览代码

update

add_mode
DengBiao 1年前
父节点
当前提交
6202d0cef5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/admin/svc/enterprise_manage/svc_enterprise_manage.go

+ 1
- 1
app/admin/svc/enterprise_manage/svc_enterprise_manage.go 查看文件

@@ -125,7 +125,7 @@ func EnterpriseUserListByCentralKitchenForSchoolV2(req md.EnterpriseUserListReq)
var m []*db.UserWithUserIdentity
count, err := sess.
Join("LEFT", "user_identity", "user.id = user_identity.uid").
Limit(req.Limit, (req.Page-1)*req.Limit).FindAndCount(&m)
Limit(req.Limit, (req.Page-1)*req.Limit).GroupBy("user.id").FindAndCount(&m)

var userIdentitiesMap = map[string][]db.UserIdentityWithClass{}
userIdentityDb := db.UserIdentityDb{}


正在加载...
取消
保存