|
|
@@ -1088,9 +1088,9 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
|
|
|
@Override
|
|
|
public List<FinAccBills> getFeeCenterCorpIds(Long billId, String dc, String type, String accBillNo) {
|
|
|
- List<Long> psFeeIds = new ArrayList<>();
|
|
|
- psFeeIds.add(220L);
|
|
|
- psFeeIds.add(623L);
|
|
|
+ List<String> psFeeCodes = new ArrayList<>();
|
|
|
+ psFeeCodes.add("P/S");
|
|
|
+ psFeeCodes.add("HP/S");
|
|
|
|
|
|
List<FinAccBills> accBills = null;
|
|
|
|
|
|
@@ -1102,7 +1102,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getAccStatus, 1)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
/*
|
|
|
List<BCorps> bCorpsList = new ArrayList<>();
|
|
|
@@ -1197,7 +1197,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.in(FeeCenter::getPid, billIds)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1209,7 +1209,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1238,7 +1238,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.in(FeeCenter::getPid, billIds)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1250,7 +1250,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1264,7 +1264,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1278,7 +1278,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
@@ -1292,7 +1292,7 @@ public class FeeCenterServiceImpl extends ServiceImpl<FeeCenterMapper, FeeCenter
|
|
|
.eq(FeeCenter::getIsDeleted, 0)
|
|
|
.eq(FeeCenter::getDc, dc)
|
|
|
.eq(FeeCenter::getPid, billId)
|
|
|
- .notIn(!psFeeIds.isEmpty(), FeeCenter::getFeeId, psFeeIds)
|
|
|
+ .notIn(!psFeeCodes.isEmpty(), FeeCenter::getFeeCode, psFeeCodes)
|
|
|
);
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
corpIds = feeCenterList.stream().map(FeeCenter::getCorpId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|