|
|
|
@ -1,16 +1,20 @@ |
|
|
|
package com.mh.web.controller.report; |
|
|
|
package com.mh.web.controller.report; |
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.excel.EasyExcel; |
|
|
|
import com.alibaba.excel.EasyExcel; |
|
|
|
|
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.mh.common.core.controller.BaseController; |
|
|
|
import com.mh.common.core.controller.BaseController; |
|
|
|
import com.mh.common.core.domain.AjaxResult; |
|
|
|
import com.mh.common.core.domain.AjaxResult; |
|
|
|
import com.mh.common.core.domain.dto.ReportHeatingRunParamDTO; |
|
|
|
import com.mh.common.core.domain.dto.ReportHeatingRunParamDTO; |
|
|
|
import com.mh.common.core.domain.dto.ReportSteamRunParamDTO; |
|
|
|
import com.mh.common.core.domain.dto.ReportSteamRunParamDTO; |
|
|
|
import com.mh.common.core.domain.entity.ReportHeatingRunParamHis; |
|
|
|
import com.mh.common.core.domain.entity.ReportHeatingRunParamHis; |
|
|
|
import com.mh.common.core.domain.entity.ReportSteamRunParamHis; |
|
|
|
import com.mh.common.core.domain.entity.ReportSteamRunParamHis; |
|
|
|
|
|
|
|
import com.mh.common.core.page.PageDomain; |
|
|
|
import com.mh.common.core.page.TableDataInfo; |
|
|
|
import com.mh.common.core.page.TableDataInfo; |
|
|
|
|
|
|
|
import com.mh.common.core.page.TableSupport; |
|
|
|
import com.mh.common.utils.file.handle.ExcelFillCellMergeHandler; |
|
|
|
import com.mh.common.utils.file.handle.ExcelFillCellMergeHandler; |
|
|
|
import com.mh.common.utils.file.handle.ReportSysParamHandler; |
|
|
|
import com.mh.common.utils.file.handle.ReportSysParamHandler; |
|
|
|
import com.mh.common.utils.file.handle.RowHeightStyleHandler; |
|
|
|
import com.mh.common.utils.file.handle.RowHeightStyleHandler; |
|
|
|
|
|
|
|
import com.mh.common.utils.sql.SqlUtil; |
|
|
|
import com.mh.system.service.report.IReportHeatingService; |
|
|
|
import com.mh.system.service.report.IReportHeatingService; |
|
|
|
import com.mh.system.service.report.IReportSteamService; |
|
|
|
import com.mh.system.service.report.IReportSteamService; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
@ -44,7 +48,9 @@ public class ReportHeatingController extends BaseController { |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/list") |
|
|
|
@PostMapping("/list") |
|
|
|
public TableDataInfo list(@RequestBody ReportHeatingRunParamHis reportHeatingRunParamHis) { |
|
|
|
public TableDataInfo list(@RequestBody ReportHeatingRunParamHis reportHeatingRunParamHis) { |
|
|
|
startPage(); |
|
|
|
if (reportHeatingRunParamHis.getPageNum() != 0) { |
|
|
|
|
|
|
|
PageHelper.startPage(reportHeatingRunParamHis.getPageNum(), reportHeatingRunParamHis.getPageSize()); |
|
|
|
|
|
|
|
} |
|
|
|
List<ReportHeatingRunParamHis> list = reportHeatingService.selectHeatingList(reportHeatingRunParamHis); |
|
|
|
List<ReportHeatingRunParamHis> list = reportHeatingService.selectHeatingList(reportHeatingRunParamHis); |
|
|
|
return getDataTable(list); |
|
|
|
return getDataTable(list); |
|
|
|
} |
|
|
|
} |
|
|
|
|