bug修改

This commit is contained in:
2025-09-06 18:35:51 +08:00
parent 95c2858a64
commit 66e8495859

View File

@ -93,7 +93,9 @@ public class BusMaterialbatchdemandplanServiceImpl extends ServiceImpl<BusMateri
bo1.setType("2");
bo1.setWinningBidderId(bo.getSupplierId());
List<BusBillofquantitiesLimitListVo> busBiddingPlanVos = busBiddingPlanService.getBillofquantitiesLimitListVo(bo1);
if (busBiddingPlanVos != null && !busBiddingPlanVos.isEmpty()) {
if (busBiddingPlanVos == null || busBiddingPlanVos.isEmpty()) {
throw new ServiceException("该供应商暂无材料");
}
Set<String> hashSet = new HashSet<>();
busBiddingPlanVos.stream().forEach(vo -> {
hashSet.add(vo.getName()+"+"+vo.getSpecification());
@ -106,8 +108,6 @@ public class BusMaterialbatchdemandplanServiceImpl extends ServiceImpl<BusMateri
result.setRecords(list);
return TableDataInfo.build(result);
}
return null;
}
/**
* 查询符合条件的物资-批次需求计划列表