package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.DriverService;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
public interface DriverServiceMapper extends BaseMapper<DriverService> {
|
|
|
/**
|
* 获取司机的业务类型
|
* @param uid
|
* @return
|
* @throws Exception
|
*/
|
List<DriverService> queryBusiness(@Param("uid") Integer uid, @Param("type") Integer... type);
|
|
|
|
Integer getDriverService(@Param("uid") Integer driverId, @Param("type") Integer type);
|
}
|