package com.sckw.fleet.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.fleet.model.KwfDriverCard;
import org.apache.ibatis.annotations.Mapper;

/**
 * @desc 司机身份证信息 Mapper 接口
 * @author zk
 * @date 2023/7/6 0006
 */
@Mapper
public interface KwfDriverCardMapper extends BaseMapper<KwfDriverCard> {

    /**
     * 新增
     * @param params 新增参数
     * @return
     */
    int insert1(KwfDriverCard params);

    /**
     * 查询
     * @param driverId 司机id
     * @return
     */
    KwfDriverCard findByDriverId(Long driverId);

}
