Compare commits

...

3 Commits

Author SHA1 Message Date
许允枞
0205bedce1 更新 2024-11-14 10:20:43 +08:00
许允枞
8ff6bfb8e5 Merge branch 'dev'
# Conflicts:
#	dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/InspectionInfoServiceImpl.java
2024-11-14 10:20:27 +08:00
许允枞
5179cbb013 更新 2024-11-14 10:19:16 +08:00

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