✨ 调整应收账单导出文件名规则
This commit is contained in:
@@ -976,7 +976,7 @@ public class ArBillServiceImpl implements IArBillService {
|
|||||||
throw failure(arBillId, ArLogObjectType.EXPORT, String.valueOf(arBillId), ArLogOperationType.EXPORT,
|
throw failure(arBillId, ArLogObjectType.EXPORT, String.valueOf(arBillId), ArLogOperationType.EXPORT,
|
||||||
bill.getStatus(), "未配置启用中的应收账单默认导出模板", operator, requestId);
|
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";
|
+ new SimpleDateFormat("yyyyMM").format(bill.getBillPeriodEnd()) + ".xlsx";
|
||||||
ArBillExport export = new ArBillExport();
|
ArBillExport export = new ArBillExport();
|
||||||
export.setArBillId(arBillId);
|
export.setArBillId(arBillId);
|
||||||
|
|||||||
Reference in New Issue
Block a user