package com.usky.vpp.controller.api;

import com.usky.vpp.RemoteVppTaskService;
import com.usky.vpp.service.VppSiteCompletionRateTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ServiceVppTaskApi implements RemoteVppTaskService {

    @Autowired
    private VppSiteCompletionRateTaskService siteCompletionRateTaskService;

    @Override
    public void refreshSiteAvgCompletionRate() {
        siteCompletionRateTaskService.refreshSiteAvgCompletionRate();
    }
}
