package com.ruoyi;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.quartz.task.GridWorkReportTask;
import com.ruoyi.system.domain.md.query.QueryPage;
import com.ruoyi.system.domain.md.request.NewMsgQuery;
import com.ruoyi.system.service.grid.GridWorkReportService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.Map;

/**
 * @author condey
 * @version $$package: com.ruoyi, v 0.1 2024/7/4 3:22 PM condey Exp $$
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class WorkReportTask {

    @Autowired
    private GridWorkReportTask reportTask;

    @Autowired
    private GridWorkReportService gridWorkReportService;


    @Test
    public void testCreateReport() {
        reportTask.createGridWorkReport();
    }

    @Test
    public void testDetail() {
        gridWorkReportService.detail(13L);
    }
}
