This commit is contained in:
linfso 2025-03-13 17:42:58 +08:00
parent cb89088c1d
commit a439001145

View File

@ -114,7 +114,7 @@ public class EmisSettleSubBillServiceImpl extends EmisBaseService implements IEm
OutputStream outputStream = response.getOutputStream();
InputStream fis = new ClassPathResource(tplName).getInputStream();
/*1.根据模板生成文档*/
String fileName = URLEncoder.encode(emisWaybillOld.getIntoWarehouseBillCode(), "UTF-8");
String fileName = URLEncoder.encode(emisWaybillOld.getBillCode()+"-"+tplType, "UTF-8");
// 填充模版数据
LoopRowTableRenderPolicy policy = new LoopRowTableRenderPolicy();