ConsultationMapper.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.ruoyi.project.VRdemo.mapper;
  2. import java.util.List;
  3. import com.ruoyi.project.VRdemo.domain.Consultation;
  4. import org.apache.ibatis.annotations.Param;
  5. /**
  6. * 博雅集南洋资讯检索Mapper接口
  7. *
  8. * @author ruoyi
  9. * @date 2024-09-26
  10. */
  11. public interface ConsultationMapper {
  12. /**
  13. * 查询博雅集南洋资讯检索
  14. *
  15. * @param id 博雅集南洋资讯检索主键
  16. * @return 博雅集南洋资讯检索
  17. */
  18. Consultation selectConsultationById(Long id);
  19. /**
  20. * 根据标题查询咨询记录
  21. */
  22. Consultation selectConsultationByTitle(@Param("chineseName") String chineseName, @Param("englishName") String englishName);
  23. /**
  24. * 查询博雅集南洋资讯检索列表
  25. *
  26. * @param consultation 博雅集南洋资讯检索
  27. * @return 博雅集南洋资讯检索集合
  28. */
  29. List<Consultation> selectConsultationList(Consultation consultation);
  30. /**
  31. * 新增博雅集南洋资讯检索
  32. *
  33. * @param consultation 博雅集南洋资讯检索
  34. * @return 结果
  35. */
  36. int insertConsultation(Consultation consultation);
  37. /**
  38. * 批量新增博雅集南洋资讯检索
  39. */
  40. int insertConsultationDataList(List<Consultation> dataList);
  41. /**
  42. * 修改博雅集南洋资讯检索
  43. *
  44. * @param consultation 博雅集南洋资讯检索
  45. * @return 结果
  46. */
  47. int updateConsultation(Consultation consultation);
  48. /**
  49. * 删除博雅集南洋资讯检索
  50. *
  51. * @param id 博雅集南洋资讯检索主键
  52. * @return 结果
  53. */
  54. int deleteConsultationById(Long id);
  55. /**
  56. * 批量删除博雅集南洋资讯检索
  57. *
  58. * @param ids 需要删除的数据主键集合
  59. * @return 结果
  60. */
  61. int deleteConsultationByIds(Long[] ids);
  62. }