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