作者 Your Name

修复一些问题

... ... @@ -498,6 +498,9 @@ func (srv StaffAssessServeice) createStaffAssess(transactionContext application.
//获取用户的部门
userDepartmentMap := map[int64][]*domain.Department{}
for _, v := range userList {
if len(v.DepartmentId) == 0 {
continue
}
_, departmemtList, err := departmentRepo.Find(map[string]interface{}{
"ids": v.DepartmentId,
})
... ...