浏览代码

添加灵嗅设备判断

tags/V1.0.1^2
chengwang 1年前
父节点
当前提交
bd9f94e9af
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/syncdata/SyncAirDataService.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/syncdata/SyncAirDataService.java 查看文件

@@ -144,7 +144,8 @@ public class SyncAirDataService {

private Inspection getInspection(String serial) {
Inspection inspection = inspectionMapper.selectOne(new LambdaQueryWrapper<Inspection>()
// .eq(Inspection::getEquipmentMountCode, serial)

.eq(Inspection::getEquipmentMountCode, serial)
.eq(Inspection::getStatus, InspectionStatusEnum.IN_FLIGHT.getCode())
.eq(Inspection::getMark, MarkEnum.VALID.getCode())
.orderByDesc(Inspection::getCreateTime)

正在加载...
取消
保存