package com.stylefeng.guns.modular.system.service.impl;
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import com.stylefeng.guns.modular.system.dao.DriverServiceMapper;
|
import com.stylefeng.guns.modular.system.model.DriverService;
|
import com.stylefeng.guns.modular.system.service.IDriverServiceService;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
|
|
@Service
|
public class DriverServiceServiceImpl extends ServiceImpl<DriverServiceMapper, DriverService> implements IDriverServiceService {
|
|
@Resource
|
private DriverServiceMapper driverServiceMapper;
|
|
|
/**
|
* 获取司机服务业务
|
* @param driverId
|
* @param type
|
* @return
|
* @throws Exception
|
*/
|
@Override
|
public List<DriverService> query(Integer driverId, Integer... type) throws Exception {
|
return driverServiceMapper.queryBusiness(driverId, type);
|
}
|
}
|