package com.gd.datascreen.controller;
import com.gd.datascreen.service.DataViewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Map;
@RestController
public class DataViewController {
@Autowired
private DataViewService dataViewService;
@GetMapping("getReportDatas")
public List<Map<String,Object>> getReportDatas(){
List<Map<String,Object>> list = dataViewService.getReportDatas();
return list;
}
}