package com.jkcredit.invoice.mapper.customer; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.jkcredit.invoice.model.entity.customer.CustomerCarRec; import com.jkcredit.invoice.model.vo.CompanyVo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface CustomerCarRecMapper extends BaseMapper { int deleteByPrimaryKey(String carNum); int insert(CustomerCarRec record); int insertSelective(CustomerCarRec record); List selectByCustName(String customerName); CustomerCarRec selectByETC(String etcNum); List selectByCarNum(String carNum); List selectBySelfCarNum(String carNum); List selectAllEtcBySelfCarNum(String carNum); int updateByPrimaryKeySelective(CustomerCarRec record); int updateByPrimaryKey(CustomerCarRec record); int updateETCByPrimaryKeySelective(CustomerCarRec record); int updateETCByPrimaryKey(CustomerCarRec record); int updateWaitETCStatus(CustomerCarRec record); List selectAllBindEtcNoGetInvoice(); IPage> selectAllByPage(Page page, @Param("query") CustomerCarRec customerCarRec); int upDateCompanySelf(CompanyVo companyVo); int upDateCompanyNo(CompanyVo companyVo); }