InterestsTableMapper.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.ruoyi.system.mapper;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.InterestsTable;
  4. import org.apache.ibatis.annotations.Param;
  5. /**
  6. * 商户权益记录Mapper接口
  7. *
  8. * @author ruoyi
  9. * @date 2022-07-08
  10. */
  11. public interface InterestsTableMapper
  12. {
  13. /**
  14. * 查询商户权益记录
  15. *
  16. * @param id 商户权益记录主键
  17. * @return 商户权益记录
  18. */
  19. public InterestsTable selectInterestsTableById(Long id);
  20. /**
  21. * 查询商户权益记录列表
  22. *
  23. * @param interestsTable 商户权益记录
  24. * @return 商户权益记录集合
  25. */
  26. public List<InterestsTable> selectInterestsTableList(InterestsTable interestsTable);
  27. /**
  28. * 新增商户权益记录
  29. *
  30. * @param interestsTable 商户权益记录
  31. * @return 结果
  32. */
  33. public int insertInterestsTable(InterestsTable interestsTable);
  34. /**
  35. * 修改商户权益记录
  36. *
  37. * @param interestsTable 商户权益记录
  38. * @return 结果
  39. */
  40. public int updateInterestsTable(InterestsTable interestsTable);
  41. /**
  42. * 删除商户权益记录
  43. *
  44. * @param id 商户权益记录主键
  45. * @return 结果
  46. */
  47. public int deleteInterestsTableById(Long id);
  48. /**
  49. * 批量删除商户权益记录
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deleteInterestsTableByIds(Long[] ids);
  55. InterestsTable selectInterestsTable(@Param("businessId") Long businessId, @Param("policyId")Long policyId);
  56. }