package com.junmp.jyzb.task;

import com.junmp.jyzb.service.InventorySummaryService;
import com.junmp.jyzb.service.PublicService;
import com.junmp.v2.job.api.JobAction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Slf4j
@Component

public class WarrantyInventoryAction implements JobAction{

    @Resource
    private InventorySummaryService inventorySummaryService;
    @Override
    public void action() {
        inventorySummaryService.setWarrantyInventoryAction();
    }
}
