|
|
@ -17,6 +17,7 @@ import com.lzbi.common.utils.StringUtils; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
@ -218,6 +219,7 @@ public class DcBusiHisReportController extends BaseController { |
|
|
|
* "生产设备参数统计明细表导出功能 |
|
|
|
*/ |
|
|
|
@ApiOperation("生产设备参数统计明细表导出功能--时间纵向") |
|
|
|
@PreAuthorize("@ss.hasPermi('report:iot:export')") |
|
|
|
@PostMapping("/export") |
|
|
|
public void export(HttpServletResponse response, LogTimeThreeQueryParamVo queryVo) throws IOException { |
|
|
|
List<Map<String, Object>> mapList = getExcellData(queryVo, 2); |
|
|
@ -225,6 +227,7 @@ public class DcBusiHisReportController extends BaseController { |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("生产设备参数统计明细表导出功能-时间横向") |
|
|
|
@PreAuthorize("@ss.hasPermi('report:iot:export')") |
|
|
|
@PostMapping("/export2") |
|
|
|
public void export2(HttpServletResponse response, LogTimeThreeQueryParamVo queryVo) throws IOException { |
|
|
|
List<Map<String, Object>> mapList = getExcellData(queryVo, 1); |
|
|
@ -290,6 +293,7 @@ public class DcBusiHisReportController extends BaseController { |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("天气报表") |
|
|
|
@PreAuthorize("@ss.hasPermi('report:iot:export')") |
|
|
|
@PostMapping("/exportWeather") |
|
|
|
public void exportWeather(HttpServletResponse response, ExportWeatherReq exportWeatherReq) throws IOException { |
|
|
|
List<WeatherReportVO> weatherReport = logTimesacleHistoryThreeService.getWeatherReport(exportWeatherReq); |
|
|
|