|
|
@@ -3,6 +3,7 @@ package com.tuoheng.admin.service.airData.query; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.alibaba.excel.EasyExcel; |
|
|
|
import com.alibaba.excel.write.style.column.SimpleColumnWidthStyleStrategy; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.tuoheng.admin.constant.SystemConstant; |
|
|
@@ -182,10 +183,11 @@ public class QueryAirDataListService { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private AirDataExport checkAirDataExport(String id) { |
|
|
|
AirDataExport airDataExport = airDataExportMapper.selectOne(Wrappers.<AirDataExport>lambdaQuery() |
|
|
|
AirDataExport airDataExport = airDataExportMapper.selectOne(new LambdaQueryWrapper<AirDataExport>() |
|
|
|
.eq(AirDataExport::getInspectionId, id) |
|
|
|
.eq(AirDataExport::getExportType, "data") |
|
|
|
.eq(AirDataExport::getMark, MarkEnum.VALID.getCode())); |
|
|
|
.eq(AirDataExport::getMark, MarkEnum.VALID.getCode()) |
|
|
|
.last("limit 1")); |
|
|
|
return airDataExport; |
|
|
|
} |
|
|
|
|