Pārlūkot izejas kodu

Merge branch 'release' of gitadmin/tuoheng_air_monitor into master

tags/v1.0.2
wanjing pirms 1 gada
vecāks
revīzija
73d3e8be16
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +4
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/query/QueryAirDataListService.java

+ 4
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/query/QueryAirDataListService.java Parādīt failu

@@ -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;
}


Notiek ielāde…
Atcelt
Saglabāt