fix:大屏空料箱过滤已出库的组盘数据
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user