package com.ydtech.modules.protocol.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ydtech.modules.admin.model.dto.SysUserLinkPtlAgreementDto; import com.ydtech.modules.protocol.entity.dto.PtlTaxSourceNewDto; import com.ydtech.modules.protocol.entity.po.PtlTaxSourceNew; import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewAddVo; import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewVo; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author wenks * @description 针对表【ptl_agreement(协议信息表)】的数据库操作Mapper * @createDate 2023-06-05 17:59:52 * @Entity com.ydtech.modules.protocol.entity.po.PtlAgreement */ public interface PtlTaxSourceNewMapper extends BaseMapper { /** * @version * @author: hxl * @Date: 2024/5/22 15:51 * @Description: 协议调度分页 */ Page queryPage(@Param("page") Page page, @Param("vo") PtlTaxSourceNewDto ptlTaxSourceNewDto); /** * @version * @author: hxl * @Date: 2024/5/22 16:02 * @Description: 通过协议id和车牌和id查询是否存在数据 */ int findListByParams(@Param("vo") PtlTaxSourceNewAddVo ptlTaxSourceNewAddVo); /** * @version * @author: hxl * @Date: 2024/5/23 16:17 * @Description: 通过ids批量查询数据 */ List findListByIds(@Param("ids") List ids); /** * @version * @author: hxl * @Date: 2024/5/24 17:03 * @Description: 通过保险公司id查询默认的数据 */ PtlTaxSourceNew findDefaultAttrLinkByInsCompanyId(@Param("insCompanyId") String insCompanyId); /** * @version * @author: hxl * @Date: 2024/5/24 17:03 * @Description: 通过所有保险保险的默认的数据 */ List findDefaultAllAttrLink(); }