Parcourir la source

Merge branch 'develop' of gitadmin/tuoheng_air_monitor into release

tags/V1.0.1
chengwang il y a 1 an
Parent
révision
853fa02fb2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 Voir le fichier

@@ -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)

Chargement…
Annuler
Enregistrer