package com.dsh.course.feignClient.driver;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.dsh.course.feignClient.driver.model.DriverService;
|
import com.dsh.course.model.vo.BaseListWarpper;
|
import com.dsh.guns.modular.system.model.TDriverService;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import java.util.List;
|
|
@FeignClient("mb-cloud-driver")
|
public interface DriverServiceClient {
|
|
|
@PostMapping("/driverService/queryMyBusiness")
|
BaseListWarpper queryMyBusiness(Integer uid);
|
|
@RequestMapping("/driverService/insert")
|
void insert(TDriverService service);
|
|
@RequestMapping("/driverService/getListByDriverId")
|
List<TDriverService> getListByDriverId(Integer tDriverId);
|
|
|
@RequestMapping("/driverService/delete")
|
void delete(QueryWrapper<DriverService> driverId);
|
|
|
@RequestMapping("/driverService/deleteById")
|
void deleteById(Integer id);
|
|
}
|