TBasePointMapper.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package com.ruoyi.project.base.mapper;
  2. import java.util.List;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import com.ruoyi.common.annotation.DataScopePlant;
  5. import com.ruoyi.project.base.domain.TBasePoint;
  6. import org.apache.ibatis.annotations.Param;
  7. /**
  8. * 密封点Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2022-11-11
  12. */
  13. public interface TBasePointMapper extends BaseMapper<TBasePoint>
  14. {
  15. /**
  16. * 查询密封点
  17. *
  18. * @param id 密封点主键
  19. * @return 密封点
  20. */
  21. public TBasePoint selectTBasePointById(Long id);
  22. public TBasePoint selectTBasePointByGroupCodeAndExtendCode(TBasePoint tBasePoint);
  23. /**
  24. * 查询密封点列表
  25. *
  26. * @param tBasePoint 密封点
  27. * @return 密封点集合
  28. */
  29. @DataScopePlant(deptAlias = "d")
  30. public List<TBasePoint> selectTBasePointList(TBasePoint tBasePoint);
  31. @DataScopePlant(deptAlias = "d")
  32. public List<TBasePoint> selectTBasePointListByPlan(TBasePoint tBasePoint);
  33. public List<TBasePoint> selectTBasePointListNotInPlan(TBasePoint tBasePoint);
  34. /**
  35. * 新增密封点
  36. *
  37. * @param tBasePoint 密封点
  38. * @return 结果
  39. */
  40. public int insertTBasePoint(TBasePoint tBasePoint);
  41. /**
  42. * 修改密封点
  43. *
  44. * @param tBasePoint 密封点
  45. * @return 结果
  46. */
  47. public int updateTBasePoint(TBasePoint tBasePoint);
  48. public int updateTBasePointByPointIds(TBasePoint tBasePoint);
  49. public int updateTBasePointByUploadFile(TBasePoint tBasePoint);
  50. /**
  51. * 删除密封点
  52. *
  53. * @param id 密封点主键
  54. * @return 结果
  55. */
  56. public int deleteTBasePointById(Long id);
  57. public int disabledPoint(Long id);
  58. /**
  59. * 批量删除密封点
  60. *
  61. * @param ids 需要删除的数据主键集合
  62. * @return 结果
  63. */
  64. public int deleteTBasePointByIds(Long[] ids);
  65. }