fix:大屏空料箱过滤已出库的组盘数据

This commit is contained in:
2026-11-26 16:06:15 +08:00
parent ce5a2968a8
commit 26837abca3

View File

@@ -617,11 +617,12 @@ public class BigScreenServiceImpl implements BigScreenService {
if (vehicleSet.isEmpty()) {
return new HashSet<>();
}
// 查询这些载具中组盘物料编码为空料箱的载具编码
// 查询这些载具中组盘物料编码为空料箱的载具编码,过滤组盘状态已出库
return mdPbGroupplateMapper.selectList(
new QueryWrapper<GroupPlate>().lambda()
.in(GroupPlate::getStoragevehicle_code, vehicleSet)
.eq(GroupPlate::getMaterial_id, StatusEnum.VEHICLE_TYPE.code("空料箱")))
.eq(GroupPlate::getMaterial_id, StatusEnum.VEHICLE_TYPE.code("空料箱"))
.ne(GroupPlate::getStatus, "03"))
.stream()
.map(GroupPlate::getStoragevehicle_code)
.collect(Collectors.toSet());