对账单文档生成-增加字段

This commit is contained in:
mzr 2024-08-05 18:53:09 +08:00
parent c936c29528
commit 4f62dc0c13
2 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,7 @@ public class CheckYearService {
wordParam.put("idcard", "");
wordParam.put("legalPerson", distributorInfo.get("legalPerson") != null ? distributorInfo.get("legalPerson") + "" : "");
wordParam.put("contactTel", distributorInfo.get("legalPersonTel") != null ? distributorInfo.get("legalPersonTel") + "" : "");
wordParam.put("serviceName", distributorInfo.get("serviceName") != null ? distributorInfo.get("serviceName") + "" : "");
String generateName = confirmInfo.get("id") + "_业务往来明细月对账单";
wordParam.put("templateName", "业务往来明细月对账单");
wordParam.put("generateName", generateName);
@ -518,6 +519,7 @@ public class CheckYearService {
wordParam.put("distributorName", confirmInfo.get("clientName"));
wordParam.put("legalPerson", distributorInfo.get("legalPerson") != null ? distributorInfo.get("legalPerson") + "" : "");
wordParam.put("contactTel", distributorInfo.get("legalPersonTel") != null ? distributorInfo.get("legalPersonTel") + "" : "");
wordParam.put("serviceName", distributorInfo.get("serviceName") != null ? distributorInfo.get("serviceName") + "" : "");
String yearGenerateName = "";
if ("2".equals(flag)) {
yearGenerateName = confirmInfo.get("id") + "_业务往来明细年对账单";

View File

@ -446,6 +446,7 @@ public class DataWordUtil {
param.put("${regionName}", info.get("regionName") + "");
param.put("${clientName}", info.get("clientName") + "");
param.put("${createUser}", info.get("createUser") + "");
param.put("${staffName}", info.get("serviceName") + "");
param.put("${month}", info.get("month") + "");
param.put("${xxNum}", info.get("xxNum"));
param.put("${dxNum}", info.get("dxNum"));