From 35d4ea7ccec96d8bde602a3574a0d4e087336548 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 18 Apr 2022 16:58:41 +0800 Subject: [PATCH] organization --- internal/rpc/organization/organization.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/rpc/organization/organization.go b/internal/rpc/organization/organization.go index 5c1c3093b..a56bdbf40 100644 --- a/internal/rpc/organization/organization.go +++ b/internal/rpc/organization/organization.go @@ -342,6 +342,7 @@ func (s *organizationServer) GetDepartmentMember(ctx context.Context, req *rpc.G return &rpc.GetDepartmentMemberResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: errMsg}, nil } + log.Debug(req.OperationID, "GetDepartmentMemberUserIDList ", departmentMemberUserIDList) resp := rpc.GetDepartmentMemberResp{} for _, v := range departmentMemberUserIDList { r, err := s.GetUserInDepartmentByUserID(v, req.OperationID) @@ -349,7 +350,7 @@ func (s *organizationServer) GetDepartmentMember(ctx context.Context, req *rpc.G log.Error(req.OperationID, "GetUserInDepartmentByUserID failed ", err.Error()) continue } - log.Debug(req.OperationID, "GetUserInDepartmentByUserID success ", *r) + log.Debug(req.OperationID, "GetUserInDepartmentByUserID success ", *r, "userID ", v) resp.UserInDepartmentList = append(resp.UserInDepartmentList, r) }