|
@@ -269,33 +269,33 @@ public class RecordSealController extends BaseController {
|
|
|
//往word中填充数据
|
|
//往word中填充数据
|
|
|
Map<String,Object> ps = new HashMap<>();
|
|
Map<String,Object> ps = new HashMap<>();
|
|
|
//开立方
|
|
//开立方
|
|
|
- ps.put("openName",openName);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.OPEN_NAME,openName);
|
|
|
//开立方社会统一代码
|
|
//开立方社会统一代码
|
|
|
- ps.put("openCode",openCode);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.OPEN_CODE,openCode);
|
|
|
//开立方银行
|
|
//开立方银行
|
|
|
- ps.put("openBank",openBank);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.OPEN_BANK,openBank);
|
|
|
//开立方账号
|
|
//开立方账号
|
|
|
- ps.put("openAccount",openAccount);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.OPEN_ACCOUNT,openAccount);
|
|
|
//接收方
|
|
//接收方
|
|
|
- ps.put("receiverName",receiverName);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.RECEIVER_NAME,receiverName);
|
|
|
//接收方社会统一代码
|
|
//接收方社会统一代码
|
|
|
- ps.put("receiverCode",receiverCode);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.RECEIVER_CODE,receiverCode);
|
|
|
//接收方银行
|
|
//接收方银行
|
|
|
- ps.put("receiverBank",receiverBank);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.RECEIVER_BANK,receiverBank);
|
|
|
//接收方账号
|
|
//接收方账号
|
|
|
- ps.put("receiverAccount",receiverAccount);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.RECEIVER_ACCOUNT,receiverAccount);
|
|
|
//小写金额
|
|
//小写金额
|
|
|
- ps.put("zfiAmount",AmtUtil.moneyFormat(zfiAmount));
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.ZFI_AMOUNT,AmtUtil.moneyFormat(zfiAmount));
|
|
|
//大写金额
|
|
//大写金额
|
|
|
- ps.put("zfiAmountBig",zfiAmountBig);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.ZFI_AMOUNT_BIG,zfiAmountBig);
|
|
|
//起止日期
|
|
//起止日期
|
|
|
- ps.put("stopDate",stopDate);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.STOP_DATE,stopDate);
|
|
|
//当前日期
|
|
//当前日期
|
|
|
- ps.put("currecntDate",currecntDate);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.CURRECNT_DATE,currecntDate);
|
|
|
//还款编号
|
|
//还款编号
|
|
|
- ps.put("zfiPaymentNumber",zfiPaymentNumber);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.ZFI_PAYMENT_NUMBER,zfiPaymentNumber);
|
|
|
//承诺还款日
|
|
//承诺还款日
|
|
|
- ps.put("expireDate",expireDateA);
|
|
|
|
|
|
|
+ ps.put(DocumentConstant.EXPIRE_DATE,expireDateA);
|
|
|
//调用替换word中的变量
|
|
//调用替换word中的变量
|
|
|
WordUtil.wordTemplate(filePath,filePath,ps);
|
|
WordUtil.wordTemplate(filePath,filePath,ps);
|
|
|
//加载word示例文档
|
|
//加载word示例文档
|