‘linchangsheng’ 2 周之前
父節點
當前提交
a7b0326247
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mall-server-api/src/main/java/com/gree/mall/manager/schedule/OrderBaseSchedule.java

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/schedule/OrderBaseSchedule.java

@@ -80,7 +80,7 @@ public class OrderBaseSchedule {
      * 每天五点结算所有结算单
      */
     @Transactional
-    @Scheduled(cron = "0 0 17 * * ?")
+    @Scheduled(cron = "20 17 * * *")
   //  @Scheduled(fixedDelay = 60  * 1000)
     public void fenzhang() throws WxPayException {
         List<SettlementOrder> settlementOrders = settlementOrderService.lambdaQuery().in(SettlementOrder::getStatus, "WAIT").list();