refactor: 清理收票金蝶同步下线后的死代码
This commit is contained in:
-12
@@ -994,12 +994,6 @@ public class InvoiceReceiptServiceImpl extends BaseServiceImpl<InvoiceReceiptMap
|
|||||||
return JsonUtil.toJson(row.getItems());
|
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) {
|
private String buildAttachmentJson(BfiInvoicePoolVO row) {
|
||||||
if (Func.isEmpty(row.getDownloadUrl())) {
|
if (Func.isEmpty(row.getDownloadUrl())) {
|
||||||
return null;
|
return null;
|
||||||
@@ -1084,12 +1078,6 @@ public class InvoiceReceiptServiceImpl extends BaseServiceImpl<InvoiceReceiptMap
|
|||||||
return trimmed.length() > length ? trimmed.substring(0, length) : trimmed;
|
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) {
|
private InvoiceReceiptVO toListVO(InvoiceReceipt entity) {
|
||||||
InvoiceReceiptVO vo = InvoiceReceiptWrapper.build().entityVO(entity);
|
InvoiceReceiptVO vo = InvoiceReceiptWrapper.build().entityVO(entity);
|
||||||
vo.setSettlementNos(settlementRelationMapper.selectList(
|
vo.setSettlementNos(settlementRelationMapper.selectList(
|
||||||
|
|||||||
Reference in New Issue
Block a user