private int excelByAgingSort(int start, int end, int rid, ArrayList<Borrower> list, HSSFWorkbook workbook, HSSFSheet sheet) {
		int _rid = rid;
		// 生成一行显示“多少天账龄”提示,可以注释掉，下面代码可注释
		sheet.addMergedRegion(new CellRangeAddress(_rid, _rid, 0, 9));
		HSSFRow row = sheet.createRow(_rid);
		HSSFCell cell = row.createCell(0);
		if (start >= 60) {
			cell.setCellValue("大于" + start + "天账龄");
		} else {
			cell.setCellValue(start + "~" + end + "天账龄");
		}
		cell.setCellStyle(cellStyle.cellFontBoldCenterBorderStyle);

		_rid++;

		double[] subtotal = { 0.0, 0.0, 0.0 };// 小计统计
		// 上面代码可注释
		for (int i = 0; i < list.size(); i++) {// 借款信息集合
			try {
				Borrower borr = (Borrower) list.get(i);// 获取每一条借款信息
				if (borr.getAging() >= start && borr.getAging() < end) {
					System.out.println(borr);
					row = sheet.createRow(_rid);
					int j = 0;
					excelUtils.setCellValue(borr.getBorrId(), workbook, j++, row, cellStyle.cellBorderStyle);// 借款人
					excelUtils.setCellValue(borr.getBorrDate(), workbook, j++, row, cellStyle.cellBorderStyle);// 日期
					excelUtils.setCellValue(borr.getPurpose(), workbook, j++, row, cellStyle.cellBorderStyle);// 借款用途
					excelUtils.setCellValue(borr.getOriginalCurrency(), workbook, j++, row, cellStyle.cellBorderStyle);// 原币
					excelUtils.setCellValue(borr.getVerification(), workbook, j++, row, cellStyle.cellBorderStyle);// 已核销
					excelUtils.setCellValue(borr.getOriginalCurrencyBalance(), workbook, j++, row, cellStyle.cellBorderStyle);// 原币余额
					excelUtils.setCellValue(borr.getAging(), workbook, j++, row, cellStyle.cellBorderStyle);
					excelUtils.setCellValue(null, workbook, j++, row, cellStyle.cellBorderStyle);// 情况说明单元格赋空值
					excelUtils.setCellValue(null, workbook, j++, row, cellStyle.cellBorderStyle);
					excelUtils.setCellValue(null, workbook, j++, row, cellStyle.cellBorderStyle);

					subtotal[0] += borr.getOriginalCurrency();// 累计原币
					subtotal[1] += borr.getVerification();// 累计已核销
					subtotal[2] += borr.getOriginalCurrencyBalance();// 累计原币余额

					if (borr.getPurpose() != null && borr.getPurpose().length() > purposeColLength) {// 记录借款用途最长字符串长度
						purposeColLength = borr.getPurpose().length();
					}

					_rid++;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		// 总计
		total[0] += subtotal[0];
		total[1] += subtotal[1];
		total[2] += subtotal[2];

		setSubtotalRow("小计", _rid++, subtotal, workbook, sheet);// 小计行
		return _rid++;
	}