| | |
| | | |
| | | //startPage(); |
| | | List<SpFinancialExpensesFundOut> list = serviceFundService.getListBypower(loginUser.getUsername(), 2, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE); |
| | | //return getDataTable(list); |
| | | Collections.sort(list, new Comparator<SpFinancialExpensesFundOut>() { |
| | | @Override |
| | | public int compare(SpFinancialExpensesFundOut o1, SpFinancialExpensesFundOut o2) { |
| | | return o2.getCreateTime().compareTo(o1.getCreateTime()); |
| | | } |
| | | }); |
| | | return getCustomDataTable(list, pageNum, pageSize); |
| | | } |
| | | |
| | |
| | | if (TotalLevel == OriginalFlowLevel + 1) { |
| | | ServiceFundShared serviceFundShared = DtoConversionUtils.sourceToTarget(serviceFund, ServiceFundShared.class); |
| | | serviceFundShared.setId(null); |
| | | serviceFundShared.setSerfunid(serviceFund.getId()); |
| | | serviceFundShared.setAmountrequested(new BigDecimal(serviceFund.getAmountrequested())); |
| | | serviceFundShared.setPrepaidamount(new BigDecimal(serviceFund.getPrepaidamount())); |
| | | serviceFundShared.setTotalcost(new BigDecimal(serviceFund.getTotalcost())); |