IBusSubstationService.java 628 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.railway.business.catenary.service;
  2. import com.railway.business.catenary.domain.BusSubstation;
  3. import java.util.List;
  4. /**
  5. * primary key (substation_id) using
  6. *
  7. * @author author
  8. * @date 2021/10/16
  9. */
  10. public interface IBusSubstationService {
  11. /**
  12. * 新增
  13. */
  14. int create(BusSubstation busSubstation);
  15. /**
  16. * 删除
  17. */
  18. int delete(String[] substationIds);
  19. /**
  20. * 更新
  21. */
  22. int update(BusSubstation busSubstation);
  23. /**
  24. * 获取单个
  25. */
  26. BusSubstation getInfo(String substationId);
  27. /**
  28. * 查询列表
  29. */
  30. List<BusSubstation> getList(BusSubstation busSubstation);
  31. }