package com.tuoheng.admin.tzhl;

import com.tuoheng.admin.entity.Inspection;
import com.tuoheng.admin.mapper.InspectionMapper;
import com.tuoheng.admin.tzhl.response.TZHLOnlineUavResponse;
import com.tuoheng.admin.tzhl.service.fly.log.FlyLogService;
import com.tuoheng.admin.tzhl.service.fly.onlineuav.OnlineUavService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class TZHLFlyLogServiceTest {

    @Autowired
    private InspectionMapper inspectionMapper;

    @Autowired
    private FlyLogService flyLogService;

    @Test
    public void testFlyLog() {
        String id = "d51d654e4b8aae6533cbdd997af100d9";
        Inspection inspection = inspectionMapper.selectById(id);
        flyLogService.getFlyLog(inspection);
    }

}
