|
@@ -308,8 +308,9 @@ public class SettlementManagementServiceImpl extends ServiceImpl<SettlementBasic
|
|
CAcceptanceBasicInfo basicInfo = new CAcceptanceBasicInfo();
|
|
CAcceptanceBasicInfo basicInfo = new CAcceptanceBasicInfo();
|
|
basicInfo.setBusinessNumber(businessNumber);
|
|
basicInfo.setBusinessNumber(businessNumber);
|
|
basicInfo.setAcceptanceStatus(ProjectInitiationStatusEnum.COMPLETED.getCode());
|
|
basicInfo.setAcceptanceStatus(ProjectInitiationStatusEnum.COMPLETED.getCode());
|
|
|
|
+ basicInfo.setSettlement(false);
|
|
List<CAcceptanceBasicInfo> acceptanceBasicInfos = icAcceptanceBasicInfoService.findByCondition(basicInfo, null);
|
|
List<CAcceptanceBasicInfo> acceptanceBasicInfos = icAcceptanceBasicInfoService.findByCondition(basicInfo, null);
|
|
- acceptanceBasicInfos = acceptanceBasicInfos.stream().filter(r -> !CollectionUtil.isNotEmpty(settlementGoodsInfoService.list(new QueryWrapper<SettlementGoodsInfo>().eq("acceptance_goods_number", r.getAcceptanceGoodsNumber())))).collect(Collectors.toList());
|
|
|
|
|
|
+// acceptanceBasicInfos = acceptanceBasicInfos.stream().filter(r -> !CollectionUtil.isNotEmpty(settlementGoodsInfoService.list(new QueryWrapper<SettlementGoodsInfo>().eq("acceptance_goods_number", r.getAcceptanceGoodsNumber())))).collect(Collectors.toList());
|
|
//验收单货物做过底层的话价格信息从底层取
|
|
//验收单货物做过底层的话价格信息从底层取
|
|
if (CollectionUtil.isNotEmpty(acceptanceBasicInfos)) {
|
|
if (CollectionUtil.isNotEmpty(acceptanceBasicInfos)) {
|
|
for (CAcceptanceBasicInfo acceptanceBasicInfo : acceptanceBasicInfos) {
|
|
for (CAcceptanceBasicInfo acceptanceBasicInfo : acceptanceBasicInfos) {
|