ITBaseRegionService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.project.base.service;
  2. import java.util.List;
  3. import com.ruoyi.project.base.domain.TBaseRegion;
  4. /**
  5. * 区域Service接口
  6. *
  7. * @author ruoyi
  8. * @date 2022-11-14
  9. */
  10. public interface ITBaseRegionService
  11. {
  12. /**
  13. * 查询区域
  14. *
  15. * @param id 区域主键
  16. * @return 区域
  17. */
  18. public TBaseRegion selectTBaseRegionById(Long id);
  19. public TBaseRegion selectTBaseRegionByName(String name,Long plantId);
  20. /**
  21. * 查询区域列表
  22. *
  23. * @param tBaseRegion 区域
  24. * @return 区域集合
  25. */
  26. public List<TBaseRegion> selectTBaseRegionList(TBaseRegion tBaseRegion);
  27. public List<TBaseRegion> selectAllRegionByPlantId(Long plantId);
  28. /**
  29. * 新增区域
  30. *
  31. * @param tBaseRegion 区域
  32. * @return 结果
  33. */
  34. public int insertTBaseRegion(TBaseRegion tBaseRegion);
  35. /**
  36. * 修改区域
  37. *
  38. * @param tBaseRegion 区域
  39. * @return 结果
  40. */
  41. public int updateTBaseRegion(TBaseRegion tBaseRegion);
  42. public int updateTBaseRegionByRegionIds(TBaseRegion tBaseRegion);
  43. /**
  44. * 批量删除区域
  45. *
  46. * @param ids 需要删除的区域主键集合
  47. * @return 结果
  48. */
  49. public int deleteTBaseRegionByIds(Long[] ids);
  50. /**
  51. * 删除区域信息
  52. *
  53. * @param id 区域主键
  54. * @return 结果
  55. */
  56. public int deleteTBaseRegionById(Long id);
  57. public int disabledRegion(Long id);
  58. }