作者 yangfu

增加部门用户列表

@@ -181,7 +181,7 @@ func (usersService *UsersService) CompanyUserEnable(companyUserEnableCommand *co @@ -181,7 +181,7 @@ func (usersService *UsersService) CompanyUserEnable(companyUserEnableCommand *co
181 func (usersService *UsersService) CompanyUserList(companyUserListQuery *query.CompanyUserListQuery) (int64, interface{}, error) { 181 func (usersService *UsersService) CompanyUserList(companyUserListQuery *query.CompanyUserListQuery) (int64, interface{}, error) {
182 creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser(domain.Operator{}) 182 creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser(domain.Operator{})
183 result, err := creationUserGateway.UserSearch(allied_creation_user.ReqUserSearch{ 183 result, err := creationUserGateway.UserSearch(allied_creation_user.ReqUserSearch{
184 - Offset: (companyUserListQuery.PageNumber - 1) * companyUserListQuery.PageSize, 184 + Offset: (companyUserListQuery.PageNumber - 1) * companyUserListQuery.PageSize,
185 Limit: companyUserListQuery.PageSize, 185 Limit: companyUserListQuery.PageSize,
186 CompanyId: companyUserListQuery.Operator.CompanyId, 186 CompanyId: companyUserListQuery.Operator.CompanyId,
187 OrganizationId: 0, 187 OrganizationId: 0,