bug修改
This commit is contained in:
@ -93,6 +93,7 @@ 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()) {
|
||||||
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());
|
||||||
@ -105,6 +106,8 @@ public class BusMaterialbatchdemandplanServiceImpl extends ServiceImpl<BusMateri
|
|||||||
result.setRecords(list);
|
result.setRecords(list);
|
||||||
return TableDataInfo.build(result);
|
return TableDataInfo.build(result);
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询符合条件的物资-批次需求计划列表
|
* 查询符合条件的物资-批次需求计划列表
|
||||||
|
@ -362,9 +362,11 @@ public class BusBiddingPlanServiceImpl extends ServiceImpl<BusBiddingPlanMapper,
|
|||||||
@Override
|
@Override
|
||||||
public List<BusBillofquantitiesLimitListVo> getBillofquantitiesLimitListVo(BusBiddingPlanBo bo1) {
|
public List<BusBillofquantitiesLimitListVo> getBillofquantitiesLimitListVo(BusBiddingPlanBo bo1) {
|
||||||
List<Long> ids = baseMapper.getBillofquantitiesId(bo1.getType(),bo1.getWinningBidderId(),bo1.getProjectId());
|
List<Long> ids = baseMapper.getBillofquantitiesId(bo1.getType(),bo1.getWinningBidderId(),bo1.getProjectId());
|
||||||
|
if (ids!=null && !ids.isEmpty()){
|
||||||
return busBillofquantitiesLimitListService.queryVoByIds(ids);
|
return busBillofquantitiesLimitListService.queryVoByIds(ids);
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 递归构建树形结构
|
* 递归构建树形结构
|
||||||
|
Reference in New Issue
Block a user