|
@@ -92,6 +92,19 @@ public class OrderBaseSchedule {
|
|
|
}
|
|
|
|
|
|
@Transactional
|
|
|
+ @Scheduled(cron = "0 30 17 * * ?")
|
|
|
+ // @Scheduled(fixedDelay = 60 * 1000)
|
|
|
+ public void fenzhang2() throws WxPayException {
|
|
|
+ List<SettlementOrder> settlementOrders = settlementOrderService.lambdaQuery().in(SettlementOrder::getStatus, "WAIT").list();
|
|
|
+
|
|
|
+ for (SettlementOrder settlementOrder : settlementOrders) {
|
|
|
+ wechatLogic.shareSettlementAmountCorn(settlementOrder);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @Transactional
|
|
|
@Scheduled(fixedDelay = 60 * 1000)
|
|
|
public synchronized void fenzhangQingKuang() throws WxPayException {
|
|
|
|