TPssrSafetyBleedMapper.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.TPssrSafetyBleed;
  5. /**
  6. * 安全设施-紧急泄放阀Mapper接口
  7. *
  8. * @author ssy
  9. * @date 2024-09-18
  10. */
  11. public interface TPssrSafetyBleedMapper
  12. {
  13. /**
  14. * 查询安全设施-紧急泄放阀
  15. *
  16. * @param id 安全设施-紧急泄放阀ID
  17. * @return 安全设施-紧急泄放阀
  18. */
  19. public TPssrSafetyBleed selectTPssrSafetyBleedById(Long id);
  20. public int selectNoConfirmCount(Long subId);
  21. public TPssrSafetyBleed selectAllConfirmedPersonBySubId(TPssrSafetyBleed tPssrSafetyBleed);
  22. /**
  23. * 查询安全设施-紧急泄放阀列表
  24. *
  25. * @param tPssrSafetyBleed 安全设施-紧急泄放阀
  26. * @return 安全设施-紧急泄放阀集合
  27. */
  28. @DataScope(deptAlias = "d")
  29. public List<TPssrSafetyBleed> selectTPssrSafetyBleedList(TPssrSafetyBleed tPssrSafetyBleed);
  30. /**
  31. * 新增安全设施-紧急泄放阀
  32. *
  33. * @param tPssrSafetyBleed 安全设施-紧急泄放阀
  34. * @return 结果
  35. */
  36. public int insertTPssrSafetyBleed(TPssrSafetyBleed tPssrSafetyBleed);
  37. /**
  38. * 修改安全设施-紧急泄放阀
  39. *
  40. * @param tPssrSafetyBleed 安全设施-紧急泄放阀
  41. * @return 结果
  42. */
  43. public int updateTPssrSafetyBleed(TPssrSafetyBleed tPssrSafetyBleed);
  44. public int updateTPssrSafetyBleedByIds(TPssrSafetyBleed tPssrSafetyBleed);
  45. public int updateAllBySubId(TPssrSafetyBleed tPssrSafetyBleed);
  46. /**
  47. * 删除安全设施-紧急泄放阀
  48. *
  49. * @param id 安全设施-紧急泄放阀ID
  50. * @return 结果
  51. */
  52. public int deleteTPssrSafetyBleedById(Long id);
  53. /**
  54. * 批量删除安全设施-紧急泄放阀
  55. *
  56. * @param ids 需要删除的数据ID
  57. * @return 结果
  58. */
  59. public int deleteTPssrSafetyBleedByIds(Long[] ids);
  60. }