package com.tuoheng.admin.service.third.pilot;

import com.tuoheng.admin.entity.domain.Inspection;
import com.tuoheng.admin.entity.domain.User;
import com.tuoheng.common.core.utils.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("pilotService")
public class PilotServiceImpl implements PilotService {

    @Autowired
    private AddPilotTaskService addPilotTaskService;

    @Override
    public JsonResult addTask(User user, Inspection inspection) {
        return addPilotTaskService.addTask(user, inspection);
    }
}
