@@ -131,7 +131,7 @@ public class FlyDataService { | |||
* @return | |||
*/ | |||
private void getCreateTime(Inspection inspection,JSONObject jsonObject) { | |||
String tenantId = CurrentUserUtil.getTenantId(); | |||
String tenantId = inspection.getTenantId(); | |||
List<FlightDataHl> flightDataHl = flightDataHlMapper.selectList(new LambdaQueryWrapper<FlightDataHl>() | |||
.eq(FlightDataHl::getMark, MarkEnum.VALID.getCode()) |
@@ -25,7 +25,7 @@ public class TZHLFlyLogServiceTest { | |||
@Test | |||
public void testFlyLog() { | |||
String id = "da5da2c67dc152de5e43c7e7a104bfcf"; | |||
String id = "d51d654e4b8aae6533cbdd997af100d9"; | |||
Inspection inspection = inspectionMapper.selectById(id); | |||
flyLogService.getFlyLog(inspection); | |||
} |