TPssrPipeMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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.TPssrPipe;
  5. /**
  6. * 管道Mapper接口
  7. *
  8. * @author ssy
  9. * @date 2024-09-18
  10. */
  11. public interface TPssrPipeMapper
  12. {
  13. /**
  14. * 查询管道
  15. *
  16. * @param id 管道ID
  17. * @return 管道
  18. */
  19. public TPssrPipe selectTPssrPipeById(Long id);
  20. /**
  21. * 查询管道列表
  22. *
  23. * @param tPssrPipe 管道
  24. * @return 管道集合
  25. */
  26. @DataScope(deptAlias = "d")
  27. public List<TPssrPipe> selectTPssrPipeList(TPssrPipe tPssrPipe);
  28. /**
  29. * 新增管道
  30. *
  31. * @param tPssrPipe 管道
  32. * @return 结果
  33. */
  34. public int insertTPssrPipe(TPssrPipe tPssrPipe);
  35. /**
  36. * 修改管道
  37. *
  38. * @param tPssrPipe 管道
  39. * @return 结果
  40. */
  41. public int updateTPssrPipe(TPssrPipe tPssrPipe);
  42. /**
  43. * 删除管道
  44. *
  45. * @param id 管道ID
  46. * @return 结果
  47. */
  48. public int deleteTPssrPipeById(Long id);
  49. /**
  50. * 批量删除管道
  51. *
  52. * @param ids 需要删除的数据ID
  53. * @return 结果
  54. */
  55. public int deleteTPssrPipeByIds(Long[] ids);
  56. void deleteTPssrPipeBySubId(Long subId);
  57. int updateTPssrPipeByIds(TPssrPipe tPssrPipe);
  58. int updateAllBySubId(TPssrPipe pipe);
  59. TPssrPipe selectAllConfirmedPersonBySubId(TPssrPipe entity);
  60. }