|
|
@@ -778,6 +778,8 @@ public class FundIncomeInfoController {
|
|
|
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("template_id", "asc"));
|
|
|
+ sortList.add(new Sort("index_", "asc"));
|
|
|
+
|
|
|
|
|
|
String curMonth = "";
|
|
|
String startDate = "";
|
|
|
@@ -796,129 +798,172 @@ public class FundIncomeInfoController {
|
|
|
searchParams.put("name", "%" + name + "%");
|
|
|
}
|
|
|
|
|
|
+ List<Map> mapList = new ArrayList<>();
|
|
|
|
|
|
- List<TemplateInfo> templateInfoList = templateInfoService.list();
|
|
|
+ BigDecimal curBudgetRevenueTotal = BigDecimal.ZERO;
|
|
|
+ BigDecimal accumulatedArrearsTotal = BigDecimal.ZERO;
|
|
|
|
|
|
- List<String> curTemplateOptionList = new ArrayList<>();
|
|
|
+ List<TemplateInfo> templateInfoList1 = templateInfoService.list();
|
|
|
|
|
|
- if (templateInfoList.size() > 0) {
|
|
|
- for (TemplateInfo templateInfo : templateInfoList) {
|
|
|
- List<TemplateOption> templateOptionList = templateOptionService.findByTemplateId(templateInfo.getId());
|
|
|
- for (TemplateOption option : templateOptionList) {
|
|
|
- curTemplateOptionList.add(option.getId());
|
|
|
+ for (TemplateInfo templateInfo : templateInfoList1) {
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ map.put("id", templateInfo.getId());
|
|
|
+ map.put("name", templateInfo.getTitle() + "(汇总)");
|
|
|
+ map.put("isSum", true);
|
|
|
+
|
|
|
+ BigDecimal accumulatedArrearsTotalSum = BigDecimal.ZERO;
|
|
|
+
|
|
|
+ BigDecimal totalSum = BigDecimal.ZERO;
|
|
|
+
|
|
|
+ searchParams.put("templateId", templateInfo.getId());
|
|
|
+
|
|
|
+ List<TemplateOption> templateOptionList = templateOptionService.findByTemplateIdAndLen(templateInfo.getId(), 1);
|
|
|
+
|
|
|
+ List<Map> mapList1 = new ArrayList<>();
|
|
|
+
|
|
|
+ for (TemplateOption templateOption : templateOptionList) {
|
|
|
+ if (templateOption.getIsSum()) {
|
|
|
+ Map map1 = new HashMap();
|
|
|
+ map1.put("id", templateOption.getId());
|
|
|
+ map1.put("serialNum", templateOption.getSerialNum());
|
|
|
+ map1.put("name", templateOption.getName() + "(合计)");
|
|
|
+ map1.put("isSum2", true);
|
|
|
+
|
|
|
+
|
|
|
+ BigDecimal accumulatedArrearsSum = BigDecimal.ZERO;
|
|
|
+
|
|
|
+ Map<String, BigDecimal> mapSum = fundIncomeInfoService.sumBudgetRevenue(templateOption.getSerialNum() + ".%", startDate, endDate, templateInfo.getId());
|
|
|
+
|
|
|
+ String sumCurBudgetRevenue = mapSum.get("sumCurBudgetRevenue").toString();
|
|
|
+
|
|
|
+ map1.put("curBudgetRevenue", sumCurBudgetRevenue);
|
|
|
+
|
|
|
+ //总体汇总金额
|
|
|
+ BigDecimal totalSum1 = new BigDecimal(sumCurBudgetRevenue);
|
|
|
+ totalSum = totalSum.add(totalSum1);
|
|
|
+
|
|
|
+ List<Map> mapList2 = new ArrayList<>();
|
|
|
+
|
|
|
+// searchParams.put("serialNum", templateOption.getSerialNum() + ".%");
|
|
|
+//
|
|
|
+// Page<FundIncomeInfo> page = fundIncomeInfoService.pageSearch(searchParams, pageIndex, pageSize, true, sortList);
|
|
|
+// for (FundIncomeInfo fundIncomeInfo : page.getResult()) {
|
|
|
+// if (!fundIncomeInfo.getIsSum()) {
|
|
|
+// Map map2 = new HashMap();
|
|
|
+// map2.put("id", fundIncomeInfo.getId());
|
|
|
+// map2.put("serialNum", fundIncomeInfo.getSerialNumber());
|
|
|
+// map2.put("name", fundIncomeInfo.getName());
|
|
|
+// BigDecimal curBudgetRevenue = fundIncomeInfo.getCurBudgetRevenue();
|
|
|
+//
|
|
|
+// map2.put("curBudgetRevenue", curBudgetRevenue);
|
|
|
+//
|
|
|
+// BigDecimal curMonthReceived = BigDecimal.ZERO;
|
|
|
+//
|
|
|
+// if (fundIncomeInfo.getCurMonthReceived() != null) {
|
|
|
+// curMonthReceived = fundIncomeInfo.getCurMonthReceived();
|
|
|
+// }
|
|
|
+//
|
|
|
+// map2.put("curMonthReceived", curMonthReceived);
|
|
|
+//
|
|
|
+// BigDecimal actualTotalRevenue = fundIncomeInfoService.sumBySerialNumber(fundIncomeInfo.getSerialNumber(), curMonth, templateInfo.getId());
|
|
|
+// map2.put("actualTotalRevenue", actualTotalRevenue);
|
|
|
+//
|
|
|
+// BigDecimal accumulatedArrears = fundIncomeInfo.getCurBudgetRevenue();
|
|
|
+// if (actualTotalRevenue != null && accumulatedArrears != null) {
|
|
|
+// accumulatedArrears = accumulatedArrears.subtract(actualTotalRevenue);
|
|
|
+// }
|
|
|
+//
|
|
|
+// //累计欠费
|
|
|
+// map2.put("accumulatedArrears", accumulatedArrears);
|
|
|
+//
|
|
|
+// //累计欠费合计
|
|
|
+// if (accumulatedArrears.compareTo(BigDecimal.ZERO) > 0) {
|
|
|
+// accumulatedArrearsSum = accumulatedArrearsSum.add(accumulatedArrears);
|
|
|
+// }
|
|
|
+//
|
|
|
+//
|
|
|
+// BigDecimal percentage = BigDecimal.ZERO;
|
|
|
+//
|
|
|
+// if (actualTotalRevenue != null && curBudgetRevenue != null) {
|
|
|
+// if (actualTotalRevenue.compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+// if (actualTotalRevenue.compareTo(curBudgetRevenue) < 1) {
|
|
|
+// percentage = actualTotalRevenue.divide(curBudgetRevenue, 4, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(100));
|
|
|
+// } else {
|
|
|
+// percentage = BigDecimal.valueOf(100);
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
+//
|
|
|
+// map2.put("percentage", percentage);
|
|
|
+//
|
|
|
+// mapList2.add(map2);
|
|
|
+// }
|
|
|
+// }
|
|
|
+
|
|
|
+ map1.put("accumulatedArrears", accumulatedArrearsSum);
|
|
|
+
|
|
|
+ accumulatedArrearsTotalSum = accumulatedArrearsTotalSum.add(accumulatedArrearsSum);
|
|
|
+
|
|
|
+ mapList2 = getChildTemplateOption(templateOption.getTemplateId(), templateOption.getSerialNum(), curMonth, startDate, endDate);
|
|
|
+
|
|
|
+
|
|
|
+ map1.put("children", mapList2);
|
|
|
+
|
|
|
+ mapList1.add(map1);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- if (curTemplateOptionList.size() == 0) {
|
|
|
- curTemplateOptionList.add("-1");
|
|
|
- }
|
|
|
-
|
|
|
- searchParams.put("templateOptionList", curTemplateOptionList);
|
|
|
|
|
|
|
|
|
- Page<FundIncomeInfo> page = fundIncomeInfoService.pageSearch(searchParams, pageIndex, pageSize, true, sortList);
|
|
|
-
|
|
|
- List<Map> mapList = new ArrayList<>();
|
|
|
-
|
|
|
- String tempTemplateId = "";
|
|
|
-
|
|
|
- for (FundIncomeInfo fundIncomeInfo : page) {
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
- if (!fundIncomeInfo.getIsSum()) {
|
|
|
- map.put("id", fundIncomeInfo.getId());
|
|
|
- String templateId = fundIncomeInfo.getTemplateId();
|
|
|
- map.put("templateId", templateId);
|
|
|
- map.put("name", fundIncomeInfo.getName());
|
|
|
- map.put("serialNumber", fundIncomeInfo.getSerialNumber());
|
|
|
-
|
|
|
- BigDecimal budgetRevenue = fundIncomeInfo.getBudgetRevenue();
|
|
|
- BigDecimal curBudgetRevenue = fundIncomeInfo.getCurBudgetRevenue();
|
|
|
-
|
|
|
- map.put("budgetRevenue", budgetRevenue);
|
|
|
- if (curBudgetRevenue == null || curBudgetRevenue.compareTo(BigDecimal.ZERO) == 0) {
|
|
|
- curBudgetRevenue = budgetRevenue;
|
|
|
- }
|
|
|
- map.put("curBudgetRevenue", curBudgetRevenue);
|
|
|
- map.put("curMonthReceived", fundIncomeInfo.getCurMonthReceived());
|
|
|
- map.put("accumulatedArrears", fundIncomeInfo.getAccumulatedArrears());
|
|
|
+ map.put("accumulatedArrears", accumulatedArrearsTotalSum);
|
|
|
+ map.put("curBudgetRevenue", totalSum);
|
|
|
|
|
|
- BigDecimal total = fundIncomeInfoService.sumBySerialNumber(fundIncomeInfo.getSerialNumber(), curMonth, templateId);
|
|
|
+ BigDecimal percentage = BigDecimal.ZERO;
|
|
|
|
|
|
- map.put("total", total);
|
|
|
+ if (totalSum != null && accumulatedArrearsTotalSum != null) {
|
|
|
+ BigDecimal tempDec = totalSum.subtract(accumulatedArrearsTotalSum);
|
|
|
|
|
|
- BigDecimal accumulatedArrears = curBudgetRevenue;
|
|
|
- if (total != null && accumulatedArrears != null) {
|
|
|
- accumulatedArrears = accumulatedArrears.subtract(total);
|
|
|
+ if (tempDec.compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ percentage = tempDec.divide(totalSum, 4, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(100));
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- //累计欠费
|
|
|
- map.put("accumulatedArrears", accumulatedArrears);
|
|
|
-
|
|
|
- //实际总收入
|
|
|
- map.put("actualTotalRevenue", total);
|
|
|
+ map.put("percentage", percentage);
|
|
|
|
|
|
- //构建汇总行
|
|
|
- TemplateOption templateOption = templateOptionService.get(fundIncomeInfo.getTemplateOptionId());
|
|
|
+ curBudgetRevenueTotal = curBudgetRevenueTotal.add(totalSum);
|
|
|
+ accumulatedArrearsTotal = accumulatedArrearsTotal.add(accumulatedArrearsTotalSum);
|
|
|
|
|
|
- TemplateInfo templateInfo = templateInfoService.get(templateOption.getTemplateId());
|
|
|
+ map.put("children", mapList1);
|
|
|
|
|
|
- String title = templateInfo.getTitle();
|
|
|
+ mapList.add(map);
|
|
|
+ }
|
|
|
|
|
|
- if (!tempTemplateId.equals(templateInfo.getId())) {
|
|
|
- Map<String, Object> mapSum = new HashMap<>();
|
|
|
- mapSum.put("name", title + "(合计)");
|
|
|
- mapSum.put("isSum", true);
|
|
|
|
|
|
- Map<String, BigDecimal> sumMap = fundIncomeInfoService.sumBudgetRevenue(null, startDate, endDate, templateId);
|
|
|
+ //汇总
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ map.put("id", "-1");
|
|
|
+ map.put("name", "总计");
|
|
|
+ map.put("curBudgetRevenue", curBudgetRevenueTotal);
|
|
|
+ map.put("accumulatedArrears", accumulatedArrearsTotal);
|
|
|
|
|
|
- if (sumMap != null) {
|
|
|
- BigDecimal tempBudgetRevenue = sumMap.get("sumCurBudgetRevenue");
|
|
|
- mapSum.put("curBudgetRevenue", tempBudgetRevenue);
|
|
|
-
|
|
|
- List<TemplateOption> templateOptionList = templateOptionService.findByTemplateId(templateId);
|
|
|
- BigDecimal sumAcc = BigDecimal.ZERO;
|
|
|
- for (TemplateOption item : templateOptionList) {
|
|
|
- BigDecimal sum = fundIncomeInfoService.sumByTemplateOptionId(item.getId(), startDate, endDate);
|
|
|
-
|
|
|
- FundIncomeInfo fundIncome = fundIncomeInfoService.findOneByTemplateOptionId(item.getId(), startDate, endDate);
|
|
|
-
|
|
|
- BigDecimal tempNum = BigDecimal.ZERO;
|
|
|
-
|
|
|
- if (fundIncome != null) {
|
|
|
- if (fundIncome.getCurBudgetRevenue() != null) {
|
|
|
- tempNum = fundIncome.getCurBudgetRevenue();
|
|
|
- } else {
|
|
|
- tempNum = fundIncome.getBudgetRevenue();
|
|
|
- }
|
|
|
- }
|
|
|
- if(tempNum!=null){
|
|
|
- BigDecimal c = tempNum.subtract(sum);
|
|
|
-
|
|
|
- if (c.compareTo(BigDecimal.ZERO) > 0) {
|
|
|
- sumAcc = sumAcc.add(c);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- mapSum.put("accumulatedArrears", sumAcc);
|
|
|
- }
|
|
|
+ BigDecimal percentage = BigDecimal.ZERO;
|
|
|
|
|
|
+ if (curBudgetRevenueTotal != null && accumulatedArrearsTotal != null) {
|
|
|
+ BigDecimal tempDec = curBudgetRevenueTotal.subtract(accumulatedArrearsTotal);
|
|
|
|
|
|
- mapList.add(mapSum);
|
|
|
- }
|
|
|
-
|
|
|
- tempTemplateId = templateInfo.getId();
|
|
|
-
|
|
|
- mapList.add(map);
|
|
|
+ if (tempDec.compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ percentage = tempDec.divide(curBudgetRevenueTotal, 4, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(100));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ map.put("percentage", percentage);
|
|
|
+
|
|
|
+ mapList.add(map);
|
|
|
+
|
|
|
if (exportFlag) {
|
|
|
String filePath = summaryListExportXls(mapList);
|
|
|
msgResult.setData(filePath);
|
|
|
} else {
|
|
|
- Map<String, Object> dataMap = PojoUtils.pageWrapper(page);
|
|
|
+ Map<String, Object> dataMap = new HashMap<>();
|
|
|
dataMap.put("data", mapList);
|
|
|
msgResult.setData(dataMap);
|
|
|
}
|
|
|
@@ -934,6 +979,59 @@ public class FundIncomeInfoController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ private List<Map> getChildTemplateOption(String id, String serialNum, String curMonth, String startDate, String endDate) {
|
|
|
+ List<Map> mapList = new ArrayList<>();
|
|
|
+
|
|
|
+ List<TemplateOption> templateOptionList = templateOptionService.findByTemplateIdAndNum(id, serialNum + "%", serialNum.length() + 2);
|
|
|
+
|
|
|
+ for (TemplateOption item : templateOptionList) {
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+
|
|
|
+ map.put("id", item.getId());
|
|
|
+ String name = item.getName();
|
|
|
+ if (item.getIsSum()) {
|
|
|
+ name += "(汇总)";
|
|
|
+ }
|
|
|
+ map.put("name", name);
|
|
|
+ map.put("isSum2", item.getIsSum());
|
|
|
+ map.put("serialNum", item.getSerialNum());
|
|
|
+
|
|
|
+ if (item.getIsSum()) {
|
|
|
+ Map<String, BigDecimal> sumMap = fundIncomeInfoService.sumBudgetRevenue(item.getSerialNum() + "%", startDate, endDate, item.getTemplateId());
|
|
|
+
|
|
|
+ String sumCurBudgetRevenue = sumMap.get("sumCurBudgetRevenue").toString();
|
|
|
+
|
|
|
+ map.put("curBudgetRevenue", sumCurBudgetRevenue);
|
|
|
+
|
|
|
+ List<Map> mapChildList = getChildTemplateOption(item.getTemplateId(), item.getSerialNum(), curMonth, startDate, endDate);
|
|
|
+ map.put("children", mapChildList);
|
|
|
+ } else {
|
|
|
+
|
|
|
+ Map<String, BigDecimal> sumMap = fundIncomeInfoService.sumBudgetRevenue(item.getSerialNum(), startDate, endDate, item.getTemplateId());
|
|
|
+
|
|
|
+ BigDecimal curMonthReceived = fundIncomeInfoService.sumByTemplateOptionId(item.getId(),startDate,endDate);
|
|
|
+
|
|
|
+ //本月到账
|
|
|
+ map.put("curMonthReceived", curMonthReceived);
|
|
|
+
|
|
|
+ String sumCurBudgetRevenue = sumMap.get("sumCurBudgetRevenue").toString();
|
|
|
+
|
|
|
+ //预算收入
|
|
|
+ map.put("curBudgetRevenue", sumCurBudgetRevenue);
|
|
|
+
|
|
|
+ BigDecimal actualTotalRevenue = fundIncomeInfoService.sumBySerialNumber(item.getSerialNum(), curMonth, item.getTemplateId());
|
|
|
+
|
|
|
+ //实际总收入
|
|
|
+ map.put("actualTotalRevenue", actualTotalRevenue);
|
|
|
+ }
|
|
|
+
|
|
|
+ mapList.add(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ return mapList;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//导出
|
|
|
private String summaryListExportXls(List<Map> mapList) {
|
|
|
String downloadUrl = "";
|
|
|
@@ -944,26 +1042,73 @@ public class FundIncomeInfoController {
|
|
|
//表头
|
|
|
Row rowTitle = sheet.createRow(0);
|
|
|
|
|
|
- String[] titles = new String[]{"序号", "收入子项目", "预算收入", "本月到账金额", "实际总收入", "累计欠费", "目前收入完全比率",
|
|
|
+ String[] titles = new String[]{"排序号", "序号", "收入子项目", "预算收入", "本月到账金额", "实际总收入", "累计欠费", "目前收入完全比率",
|
|
|
"累计已支出金额", "实际收入结余", "备注"};
|
|
|
|
|
|
for (int i = 0; i < titles.length; i++) {
|
|
|
Cell cell = rowTitle.createCell(i);
|
|
|
cell.setCellValue(titles[i]);
|
|
|
}
|
|
|
+ int addRow = 1;
|
|
|
|
|
|
for (int i = 0; i < mapList.size(); i++) {
|
|
|
Map<String, Object> map = mapList.get(i);
|
|
|
|
|
|
- Row row = sheet.createRow(i + 1);
|
|
|
+ Row row = sheet.createRow(addRow);
|
|
|
|
|
|
int colIndex = 0;
|
|
|
- row.createCell(colIndex++).setCellValue(i + 1);
|
|
|
+ row.createCell(colIndex++).setCellValue(addRow);
|
|
|
+ row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("serialNum"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("name"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("curBudgetRevenue"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("curMonthReceived"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("actualTotalRevenue"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("accumulatedArrears"), ""));
|
|
|
+ row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("percentage"), ""));
|
|
|
+ addRow++;
|
|
|
+
|
|
|
+ if (map.get("children") != null) {
|
|
|
+ List<Map> mapList1 = (List<Map>) map.get("children");
|
|
|
+ for (int j = 0; j < mapList1.size(); j++) {
|
|
|
+ Map<String, Object> map1 = mapList1.get(j);
|
|
|
+ Row rowChild = sheet.createRow(addRow);
|
|
|
+
|
|
|
+ int colIndexChild = 0;
|
|
|
+
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(addRow);
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("serialNum"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("name"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("curBudgetRevenue"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("curMonthReceived"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("actualTotalRevenue"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("accumulatedArrears"), ""));
|
|
|
+ rowChild.createCell(colIndexChild++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map1.get("percentage"), ""));
|
|
|
+ addRow++;
|
|
|
+
|
|
|
+ if (map1.get("children") != null) {
|
|
|
+ List<Map> mapList2 = (List<Map>) map1.get("children");
|
|
|
+
|
|
|
+ for (int k = 0; k < mapList2.size(); k++) {
|
|
|
+ Map<String, Object> map2 = mapList2.get(k);
|
|
|
+ Row rowChild2 = sheet.createRow(addRow);
|
|
|
+
|
|
|
+ int colIndexChild2 = 0;
|
|
|
+
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(addRow);
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("serialNum"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("name"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("curBudgetRevenue"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("curMonthReceived"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("actualTotalRevenue"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("accumulatedArrears"), ""));
|
|
|
+ rowChild2.createCell(colIndexChild2++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map2.get("percentage"), ""));
|
|
|
+ addRow++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|