|
@@ -569,7 +569,7 @@ public class ExcelUtil {
|
|
|
data.put(FILE_NAME_KEY, "收费清单.xls");
|
|
|
List<Map<String, Object>> heads = new ArrayList<>();
|
|
|
Map<String, Object> map0 = new HashMap<>();
|
|
|
- String[] head0 = {"病人ID", "机制号", "退欠标识", "金额", "发票号", "付款方式", "收费日期", "项目名称"};
|
|
|
+ String[] head0 = {"病人ID", "机制号", "退欠标识", "金额", "发票号", "付款方式", "收费日期", "项目名称", "合同编号"};
|
|
|
String[] headNum0 = {"0,0,0,0"};
|
|
|
map0.put(HEAD_ARR_KEY, head0);
|
|
|
map0.put(HEAD_NUM_KEY, headNum0);
|
|
@@ -584,8 +584,9 @@ public class ExcelUtil {
|
|
|
chargeFeeVo.getTotalCharge().setScale(2, BigDecimal.ROUND_HALF_UP).toString(),
|
|
|
chargeFeeVo.getReceiptBill(),
|
|
|
chargeFeeVo.getChequeType(),
|
|
|
- DateFormatUtils.format(chargeFeeVo.getChargeDate(), "yyyy-MM-dd HH:mm:ss"),
|
|
|
- chargeFeeVo.getContractName()
|
|
|
+ chargeFeeVo.getChargeDate()!=null?DateFormatUtils.format(chargeFeeVo.getChargeDate(), "yyyy-MM-dd HH:mm:ss"):"",
|
|
|
+ chargeFeeVo.getContractName(),
|
|
|
+ chargeFeeVo.getContractNo()
|
|
|
};
|
|
|
arr.add(temp);
|
|
|
}
|