Browse Source

test

master
583641232@qq.com 1 year ago
parent
commit
4a5c86b3ed
  1. 20
      cas-system/src/main/java/com/inscloudtech/analysiscenter/service/impl/AnalysisReportServiceImpl.java

20
cas-system/src/main/java/com/inscloudtech/analysiscenter/service/impl/AnalysisReportServiceImpl.java

@ -1105,14 +1105,20 @@ public class AnalysisReportServiceImpl implements IAnalysisReportService {
try { try {
Set<String> tpCounterpartyAccountSet = new HashSet<>(); Set<String> tpCounterpartyAccountSet = new HashSet<>();
Set<String> tpCounterpartyNameSet = new HashSet<>(); Set<String> tpCounterpartyNameSet = new HashSet<>();
bsList.stream().forEach(item ->{
if(StrUtil.isNotEmpty(item.getCounterpartyAccount())){
tpCounterpartyAccountSet.add(item.getCounterpartyAccount());
}
if(StrUtil.isNotEmpty(item.getCounterpartyName())){
tpCounterpartyNameSet.add(item.getCounterpartyName());
for (BankStatement bankStatement : bsList) {
try {
if(StrUtil.isNotEmpty(bankStatement.getCounterpartyAccount())){
tpCounterpartyAccountSet.add(bankStatement.getCounterpartyAccount());
}
if(StrUtil.isNotEmpty(bankStatement.getCounterpartyName())){
tpCounterpartyNameSet.add(bankStatement.getCounterpartyName());
}
}catch (Exception e){
System.out.println("bankStatement = " + JSONUtil.toJsonStr(bankStatement));
} }
});
}
//括内部人也不包括自己比如敖云松的报告就不包括内部人藏美芳因为他们是同事必然是间接关系有共同的交易对象即公司给他们发工资 //括内部人也不包括自己比如敖云松的报告就不包括内部人藏美芳因为他们是同事必然是间接关系有共同的交易对象即公司给他们发工资
Integer personType = groupByLabel.get(tpCardHolderName); Integer personType = groupByLabel.get(tpCardHolderName);

Loading…
Cancel
Save