✨ 调整应收账单导出文件名规则

This commit is contained in:
caojia
2026-10-13 15:35:10 +08:00
parent b99b847886
commit 92485129f8
@@ -976,7 +976,7 @@ public class ArBillServiceImpl implements IArBillService {
throw failure(arBillId, ArLogObjectType.EXPORT, String.valueOf(arBillId), ArLogOperationType.EXPORT,
bill.getStatus(), "未配置启用中的应收账单默认导出模板", operator, requestId);
}
String fileName = bill.getBillNo() + "_" + safeFilePart(bill.getCustomerName()) + "_"
String fileName = safeFilePart(bill.getCustomerCode()) + "_" + safeFilePart(bill.getCustomerName()) + "_"
+ new SimpleDateFormat("yyyyMM").format(bill.getBillPeriodEnd()) + ".xlsx";
ArBillExport export = new ArBillExport();
export.setArBillId(arBillId);