| | |
| | | list = list.stream().filter(obj -> obj.getDonorname().contains(spFinancialExpensesIn.getDonorname())).collect(Collectors.toList()); |
| | | } |
| | | |
| | | //通过金额过滤 |
| | | if (spFinancialExpensesIn.getMoney() != null) { |
| | | list = list.stream().filter(reimbursementOut -> new BigDecimal(reimbursementOut.getPretaxcost()).compareTo(new BigDecimal(spFinancialExpensesIn.getMoney())) == 0).collect(Collectors.toList()); |
| | | |
| | | } |
| | | |
| | | Collections.sort(list, new Comparator<SpFinancialExpensesFundOut>() { |
| | | @Override |
| | | public int compare(SpFinancialExpensesFundOut o1, SpFinancialExpensesFundOut o2) { |
| | | return o2.getCreateTime().compareTo(o1.getCreateTime()); |
| | | return o1.getCreateTime().compareTo(o2.getCreateTime()); |
| | | } |
| | | }); |
| | | return getCustomDataTable(list, pageNum, pageSize); |
| | |
| | | bz += f.getDepositbank() == null ? "" : f.getDepositbank() + ": "; |
| | | bz += f.getBankcardno() == null ? "" : f.getBankcardno() + ","; |
| | | bz += "金额 : " + f.getAmount() + "元"; |
| | | bz += System.lineSeparator(); |
| | | bz += "<w:br/>"; |
| | | } |
| | | if (serviceFund.getApplytype().equals("4")) { |
| | | i = i + 1; |
| | | bz += f.getBeneficiaryname() == null ? "(" + i + ")" : "(" + i + ")" + f.getBeneficiaryname() + ","; |
| | | bz += f.getDepositbank() == null ? "" : f.getDepositbank() + ": "; |
| | | bz += f.getBankcardno() == null ? "" : f.getBankcardno() + ","; |
| | | bz += "金额 : " + f.getAmount() + "元"; |
| | | bz += "<w:br/>"; |
| | | } |
| | | |
| | | String fyxm = f.getItemname() == null ? "" : f.getItemname(); |
| | | String fyxm = ""; |
| | | fyxm += f.getItemname() == null ? "" : f.getItemname(); |
| | | fyxm += f.getAmount() + "元"; |
| | | map.put("FYXM", fyxm); |
| | |
| | | // dataMap.put("JEDS", convert(serviceFund.getAmountrequested()) + "整"); |
| | | //备注里放的是经办人的银行卡信息 |
| | | |
| | | dataMap.put("BXBZ", serviceFund.getApplytype().equals("3") ? bz : infoByUserNo == null ? "" : infoByUserNo.getBranchbankname() + " " + infoByUserNo.getBankcardno()); |
| | | dataMap.put("BXBZ", serviceFund.getApplytype().equals("3") || serviceFund.getApplytype().equals("4") ? bz : infoByUserNo == null ? "" : infoByUserNo.getBranchbankname() + " " + infoByUserNo.getBankcardno()); |
| | | dataMap.put("YZ", serviceFund.getPresident() == null ? "" : serviceFund.getPresident()); |
| | | dataMap.put("CWFYZ", serviceFund.getFinvicepresident() == null ? "" : serviceFund.getFinvicepresident()); |
| | | dataMap.put("YWFYZ", serviceFund.getBusvicepresident() == null ? "" : serviceFund.getBusvicepresident()); |