更新
This commit is contained in:
parent
fc12805d24
commit
5179cbb013
@ -248,7 +248,9 @@ public class InspectionInfoServiceImpl extends ServiceImpl<InspectionInfoMapper,
|
|||||||
//根据角色id获取所有用户
|
//根据角色id获取所有用户
|
||||||
List<UserDTO> listByUserId = roleService.getListByUserId(roleId);
|
List<UserDTO> listByUserId = roleService.getListByUserId(roleId);
|
||||||
List<Long> ids = listByUserId.stream().map(UserDTO::getId).collect(Collectors.toList());
|
List<Long> ids = listByUserId.stream().map(UserDTO::getId).collect(Collectors.toList());
|
||||||
ids.add(inspectionInfo.getLeadManId());
|
if (ObjectUtil.isNotNull(inspectionInfo.getLeadManId())) {
|
||||||
|
ids.add(inspectionInfo.getLeadManId());
|
||||||
|
}
|
||||||
// 获取当前共单引车员的id
|
// 获取当前共单引车员的id
|
||||||
if (CollUtil.isNotEmpty(ids)) {
|
if (CollUtil.isNotEmpty(ids)) {
|
||||||
for (Long id : ids) {
|
for (Long id : ids) {
|
||||||
|
Loading…
Reference in New Issue
Block a user