TPssrCleaningMapper.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.ruoyi.project.pssr.mapper;
  2. import java.util.List;
  3. import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
  4. import com.ruoyi.project.pssr.domain.TPssrCleaning;
  5. /**
  6. * 设备清洁Mapper接口
  7. *
  8. * @author ssy
  9. * @date 2024-09-18
  10. */
  11. public interface TPssrCleaningMapper
  12. {
  13. /**
  14. * 查询设备清洁
  15. *
  16. * @param id 设备清洁ID
  17. * @return 设备清洁
  18. */
  19. public TPssrCleaning selectTPssrCleaningById(Long id);
  20. /**
  21. * 查询设备清洁列表
  22. *
  23. * @param tPssrCleaning 设备清洁
  24. * @return 设备清洁集合
  25. */
  26. @DataScope(deptAlias = "d")
  27. public List<TPssrCleaning> selectTPssrCleaningList(TPssrCleaning tPssrCleaning);
  28. /**
  29. * 新增设备清洁
  30. *
  31. * @param tPssrCleaning 设备清洁
  32. * @return 结果
  33. */
  34. public int insertTPssrCleaning(TPssrCleaning tPssrCleaning);
  35. /**
  36. * 修改设备清洁
  37. *
  38. * @param tPssrCleaning 设备清洁
  39. * @return 结果
  40. */
  41. public int updateTPssrCleaning(TPssrCleaning tPssrCleaning);
  42. /**
  43. * 删除设备清洁
  44. *
  45. * @param id 设备清洁ID
  46. * @return 结果
  47. */
  48. public int deleteTPssrCleaningById(Long id);
  49. /**
  50. * 批量删除设备清洁
  51. *
  52. * @param ids 需要删除的数据ID
  53. * @return 结果
  54. */
  55. public int deleteTPssrCleaningByIds(Long[] ids);
  56. }