PtlSchemeMapper.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.ydtech.modules.scheme.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.ydtech.modules.esm.model.EsmInsCompany;
  5. import com.ydtech.modules.scheme.entity.po.PtlScheme;
  6. import com.ydtech.modules.scheme.entity.po.PtlSchemeRules;
  7. import com.ydtech.modules.scheme.entity.po.PtlSchemeRulesAttr;
  8. import com.ydtech.modules.scheme.entity.vo.SchemeQueryVo;
  9. import com.ydtech.modules.scheme.entity.vo.SchemeResultVo;
  10. import com.ydtech.modules.scheme.entity.vo.SchemeRuleResultVo;
  11. import org.apache.ibatis.annotations.Param;
  12. import java.util.List;
  13. /**
  14. * @author tz
  15. * @description 方案匹配规则属性的数据库操作Mapper
  16. * @createDate 2024-2-22 15:44:29
  17. */
  18. public interface PtlSchemeMapper extends BaseMapper<PtlScheme> {
  19. /**
  20. * 获取所有不是外部订单的保险公司
  21. * @param page
  22. * @return
  23. */
  24. Page<EsmInsCompany> getAllCompany(Page page, SchemeQueryVo schemeQueryVo);
  25. /**
  26. * 获取方案列表
  27. * @param page
  28. * @param schemeQueryVo
  29. * @return
  30. */
  31. Page<PtlScheme> getSchemeList(Page page, SchemeQueryVo schemeQueryVo);
  32. /**
  33. * 获取方案信息列表
  34. * @param schemeQueryVo
  35. * @return
  36. */
  37. List<SchemeResultVo> getSchemeResultList(@Param("companyId") String companyId,@Param("productId") String productId,
  38. @Param("vehicleType") String vehicleType,@Param("energyType") String energyType,
  39. @Param("carnature") String carnature);
  40. List<PtlSchemeRules> getSchemeRules(@Param("companyIds") List<String> companyIds,@Param("productId") String productId,
  41. @Param("vehicleType") String vehicleType,@Param("energyType") String energyType);
  42. }