安全帽调整(中北水利)+1
This commit is contained in:
parent
79a7af577b
commit
e3c376f4ee
@ -231,6 +231,9 @@ public class SafetyHatDevController {
|
|||||||
// return false;
|
// return false;
|
||||||
// }).collect(Collectors.toList());
|
// }).collect(Collectors.toList());
|
||||||
List<SafetyHatDev> hatDevs = safetyHatDevs.stream().filter(s -> s.getEnterpriseIds().contains(enterpriseInfo.getId().toString())).collect(Collectors.toList());
|
List<SafetyHatDev> hatDevs = safetyHatDevs.stream().filter(s -> s.getEnterpriseIds().contains(enterpriseInfo.getId().toString())).collect(Collectors.toList());
|
||||||
|
for (SafetyHatDev hatDev : hatDevs) {
|
||||||
|
hatDev.setName(hatDev.getWorkerName());
|
||||||
|
}
|
||||||
vo.setSafetyHatDevs(hatDevs);
|
vo.setSafetyHatDevs(hatDevs);
|
||||||
rt.add(vo);
|
rt.add(vo);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user