package com.aucma.report.controller;

import com.aucma.common.core.controller.BaseController;
import com.aucma.common.core.domain.AjaxResult;
import com.aucma.common.utils.DateUtils;
import com.aucma.report.domain.ReportDayDnb;
import com.aucma.report.service.IBoardReportService;
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.HashMap;

/**
 * 看板报表Controller
 *
 * @Author YinQ
 * @create 2023-10-26 10:49
 */
@RestController
@RequestMapping("/boardReport" )
public class BoardReportController extends BaseController {

    @Autowired
    private IBoardReportService boardReportService;


    /**
     * 看板通用接口List
     * @param paramMap
     * @return
     */
    @PostMapping("/generalInterfaceList")
    public AjaxResult generalInterfaceList(@RequestBody HashMap<String, String> paramMap) {
        return AjaxResult.success(boardReportService.generalInterfaceList(paramMap));
    }




}
