DriverInfoMapper.java 1019 字节
package com.sunyo.wlpt.dispatch.mapper;

import com.sunyo.wlpt.dispatch.domain.DriverInfo;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 子诚
 * Description:
 * 时间:2020/4/21 15:16
 */
@Mapper
public interface DriverInfoMapper {

    /**
     * 分页查询,驾驶员信息列表
     *
     * @param record
     * @return
     */
    List<DriverInfo> selectDriverInfoList(DriverInfo record);

    int deleteByPrimaryKey(String id);

    int insert(DriverInfo record);

    int insertOrUpdate(DriverInfo record);

    int insertOrUpdateSelective(DriverInfo record);

    int insertSelective(DriverInfo record);

    DriverInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DriverInfo record);

    int updateByPrimaryKey(DriverInfo record);

    int updateBatch(List<DriverInfo> list);

    int updateBatchSelective(List<DriverInfo> list);

    int batchInsert(@Param("list") List<DriverInfo> list);
}