Commit a70c1476 authored by 黎博's avatar 黎博

test

parent 5513f075
...@@ -434,4 +434,16 @@ public class ReconciliationTask { ...@@ -434,4 +434,16 @@ public class ReconciliationTask {
DingdingUtils.sendToDingding(mkMsg, reconciliationDingUrl); DingdingUtils.sendToDingding(mkMsg, reconciliationDingUrl);
} }
} }
/**
* 测试用,仅执行一次
* @throws AlipayApiException
* @throws IOException
*/
@Scheduled(cron = "0 30 15 23 2 ?")
public void aliPayDailyReconciliationTest() throws AlipayApiException, IOException {
String billDate = DateUtils.convertDate(DateUtils.getBeforeDay(new Date(), 1), "yyyy-MM-dd");
List<AliPayBillData> aliPayBillDataList = aliPayBillService.parseAliPayBillFile(aliPayBillService.downloadBillFile(billDate));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment