@SchedulerLock(name = "DownloadYnrccChkfileSchedulerTask", lockAtMostForString = "PT10M")
fun doDownloadYnrccChkfile() {
try {
+ if (null == TenantContext.getTenantSchema()) TenantContext.setTenantSchema(Constants.DEFAULT_TENANTID)
//下载对账单逻辑
val hostdate = systemUtilService.sysdatetime.hostdate
val downloadLastdate = ynrccBusinessService.getLastDownloadBillDate()
} else if (YnrccUtil.NO_RECORDS_TODAY == resp.code) {
//当日无交易明细,也创建空记录
- transactionReconciliationService.doSuccessTransactionChkfile(chkfile,"请求银行返回:当日无交易明细")
+ transactionReconciliationService.doSuccessTransactionChkfile(chkfile, "请求银行返回:当日无交易明细")
} else {
//报错,退出对账单拉取
}
//成功
- transactionReconciliationService.doSuccessTransactionChkfile(chkfile,"对账单数据下载成功")
+ transactionReconciliationService.doSuccessTransactionChkfile(chkfile, "对账单数据下载成功")
}
} else {