Commit 6e0041ef authored by cq990612's avatar cq990612

优化代码结构

parent 7a6e102b
......@@ -1042,6 +1042,13 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
deptUserDto.setUserDtos(userDtos);
}
}
if (!CollectionUtils.isEmpty(deptUserDtos)) {
for (DeptUserDto deptUserDto : deptUserDtos) {
if (!CollectionUtils.isEmpty(deptUserDto.getUserDtos())) {
deptUserDto.getUserDtos().removeIf(userDto -> 0 == userDto.getNotWorkDays());
}
}
}
notWorkSubmitOrderDto.setDeptUserDtos(deptUserDtos);
return notWorkSubmitOrderDto;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment