package com.rongwei.controller;

import com.rongwei.bscommon.sys.service.IssuesReportService;
import com.rongwei.bsentity.request.IssuesReportRequest;
import com.rongwei.bsentity.vo.TimelyCompletionVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * PSL问题报表
 * @author Trj
 * @date 2023-05-12
 */

@RestController
@RequestMapping("/issuesReport")
public class IssuesReportController {

    private final Logger log = LoggerFactory.getLogger(this.getClass().getName());

    @Autowired
    private IssuesReportService issuesReportService;


    @PostMapping("/actionPlanReport")
    private List<TimelyCompletionVo> actionPlanReport(@RequestBody IssuesReportRequest issuesReportRequest){
        return issuesReportService.actionPlanReport(issuesReportRequest);
    }


}
