refactor: 清理收票金蝶同步下线后的死代码

This commit is contained in:
刘泉佳
2026-09-23 10:54:29 +08:00
parent 70d5d34461
commit c60954ad86
@@ -994,12 +994,6 @@ public class InvoiceReceiptServiceImpl extends BaseServiceImpl<InvoiceReceiptMap
return JsonUtil.toJson(row.getItems());
}
private KingdeeInvoicePool mirrorByInvoiceNo(String invoiceNo) {
return invoicePoolMapper.selectOne(Wrappers.<KingdeeInvoicePool>lambdaQuery()
.eq(KingdeeInvoicePool::getInvoiceNo, invoiceNo)
.last("limit 1"));
}
private String buildAttachmentJson(BfiInvoicePoolVO row) {
if (Func.isEmpty(row.getDownloadUrl())) {
return null;
@@ -1084,12 +1078,6 @@ public class InvoiceReceiptServiceImpl extends BaseServiceImpl<InvoiceReceiptMap
return trimmed.length() > length ? trimmed.substring(0, length) : trimmed;
}
/** 操作人:定时任务上下文无登录用户时以「定时任务」名义记录流水 */
private String currentOperator() {
String userName = AuthUtil.getUserName();
return Func.isEmpty(userName) ? "定时任务" : userName;
}
private InvoiceReceiptVO toListVO(InvoiceReceipt entity) {
InvoiceReceiptVO vo = InvoiceReceiptWrapper.build().entityVO(entity);
vo.setSettlementNos(settlementRelationMapper.selectList(