DistillationMapper.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.ips.system.mapper;
  2. import java.util.List;
  3. import com.ips.system.domain.Distillation;
  4. /**
  5. * 知识蒸馏Mapper接口
  6. *
  7. * @author Allen
  8. * @date 2025-05-21
  9. */
  10. public interface DistillationMapper
  11. {
  12. /**
  13. * 查询知识蒸馏
  14. *
  15. * @param id 知识蒸馏主键
  16. * @return 知识蒸馏
  17. */
  18. public Distillation selectDistillationById(Long id);
  19. /**
  20. * 查询知识蒸馏列表
  21. *
  22. * @param distillation 知识蒸馏
  23. * @return 知识蒸馏集合
  24. */
  25. public List<Distillation> selectDistillationList(Distillation distillation);
  26. /**
  27. * 新增知识蒸馏
  28. *
  29. * @param distillation 知识蒸馏
  30. * @return 结果
  31. */
  32. public int insertDistillation(Distillation distillation);
  33. /**
  34. * 修改知识蒸馏
  35. *
  36. * @param distillation 知识蒸馏
  37. * @return 结果
  38. */
  39. public int updateDistillation(Distillation distillation);
  40. /**
  41. * 删除知识蒸馏
  42. *
  43. * @param id 知识蒸馏主键
  44. * @return 结果
  45. */
  46. public int deleteDistillationById(Long id);
  47. /**
  48. * 批量删除知识蒸馏
  49. *
  50. * @param ids 需要删除的数据主键集合
  51. * @return 结果
  52. */
  53. public int deleteDistillationByIds(Long[] ids);
  54. }