This commit is contained in:
许允枞 2024-11-14 10:20:43 +08:00
parent 8ff6bfb8e5
commit 0205bedce1

View File

@ -248,7 +248,7 @@ public class InspectionInfoServiceImpl extends ServiceImpl<InspectionInfoMapper,
//根据角色id获取所有用户
List<UserDTO> listByUserId = roleService.getListByUserId(roleId);
List<Long> ids = listByUserId.stream().map(UserDTO::getId).collect(Collectors.toList());
if (ObjectUtil.isNull(inspectionInfo.getLeadManId())) {
if (ObjectUtil.isNotNull(inspectionInfo.getLeadManId())) {
ids.add(inspectionInfo.getLeadManId());
}
// 获取当前共单引车员的id