| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- 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<PtlTaxSourceNew> {
- /**
- * @version
- * @author: hxl
- * @Date: 2024/5/22 15:51
- * @Description: 协议调度分页
- */
- Page<PtlTaxSourceNewVo> queryPage(@Param("page") Page<SysUserLinkPtlAgreementDto> 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<PtlTaxSourceNew> findListByIds(@Param("ids") List<Long> 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<PtlTaxSourceNew> findDefaultAllAttrLink();
- }
|