package com.inspect.metadata.task.controller;

import com.inspect.metadata.task.service.IBasedataNvrStorageStatusTaskService;
import com.inspect.base.core.web.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping({"/nvrStorageStatusTask"})
public class NvrStorageStatusTaskController extends BaseController {
    @Resource
    private IBasedataNvrStorageStatusTaskService nvrStorageStatusTask;

    @PostMapping({"/synNvrStorageStatusFromSdk"})
    public void synNvrStorageStatusFromSdk() {
        this.nvrStorageStatusTask.synNvrStorageStatusFromSdk();
    }
}
