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

import com.tuoheng.admin.entity.Inspection;
import com.tuoheng.admin.entity.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 AddPilotTskService addPilotTskService;

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