ITBasePlantService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.project.base.service;
  2. import java.util.List;
  3. import com.ruoyi.project.base.domain.TBasePlant;
  4. /**
  5. * 装置Service接口
  6. *
  7. * @author ruoyi
  8. * @date 2022-11-14
  9. */
  10. public interface ITBasePlantService
  11. {
  12. /**
  13. * 查询装置
  14. *
  15. * @param id 装置主键
  16. * @return 装置
  17. */
  18. public TBasePlant selectTBasePlantById(Long id);
  19. public TBasePlant selectTBasePlantByName(String name);
  20. /**
  21. * 查询装置列表
  22. *
  23. * @param tBasePlant 装置
  24. * @return 装置集合
  25. */
  26. public List<TBasePlant> selectTBasePlantList(TBasePlant tBasePlant);
  27. public List<TBasePlant> selectAllPlantName();
  28. /**
  29. * 新增装置
  30. *
  31. * @param tBasePlant 装置
  32. * @return 结果
  33. */
  34. public int insertTBasePlant(TBasePlant tBasePlant);
  35. /**
  36. * 修改装置
  37. *
  38. * @param tBasePlant 装置
  39. * @return 结果
  40. */
  41. public int updateTBasePlant(TBasePlant tBasePlant);
  42. public int updateTBasePlantByPlantIds(TBasePlant tBasePlant);
  43. public int disabledPlant(Long id);
  44. /**
  45. * 批量删除装置
  46. *
  47. * @param ids 需要删除的装置主键集合
  48. * @return 结果
  49. */
  50. public int deleteTBasePlantByIds(Long[] ids);
  51. /**
  52. * 删除装置信息
  53. *
  54. * @param id 装置主键
  55. * @return 结果
  56. */
  57. public int deleteTBasePlantById(Long id);
  58. }