gongchunyi
14 小时以前 a3976574426c68495e41b586280745c092112950
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.ruoyi.productionPlan.task;
 
 
import com.ruoyi.productionPlan.service.ProductionPlanService;
import com.ruoyi.productionPlan.service.SalesDeliveryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
 
//销售发货明细对接宜搭定时任务
@Component
public class SalesDeliveryTask {
 
 
    @Autowired
    private SalesDeliveryService salesDeliveryService;
 
    @Scheduled(cron = "0 0 0 * * ?")
    public void syncSalesDeliveryJob() {
        salesDeliveryService.syncSalesDeliveryJob();
    }
}