ElectricBoxService.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.welampiot.service;
  2. import com.welampiot.common.BaseResult;
  3. import com.welampiot.dto.ElectricBoxDTO;
  4. import com.welampiot.vo.ElectricBoxReturnVO;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * ClassName: ElectricBoxService
  9. * Package: com.welampiot.service
  10. * Description:
  11. *
  12. * @Author: zhj_Start
  13. * @Create: 2023/3/25 - 14:37
  14. * @Version: v1.0
  15. */
  16. public interface ElectricBoxService {
  17. ElectricBoxReturnVO getElectricBoxListBySectionId(ElectricBoxDTO dto);
  18. Integer getTotalByStatus(ElectricBoxDTO dto);
  19. Integer getLoopEleBoxTotalByDTO(ElectricBoxDTO dto);
  20. Integer getOnlineTotalByStatus(ElectricBoxDTO dto);
  21. Integer getOfflineTotalByStatus(ElectricBoxDTO dto);
  22. BaseResult add(ElectricBoxDTO dto);
  23. BaseResult update(ElectricBoxDTO dto);
  24. Integer checkData(ElectricBoxDTO dto);
  25. Integer delete(ElectricBoxDTO dto);
  26. ElectricBoxDTO getDetailsById(@Param("id") Integer id);
  27. void changeElectricBoxLocationById(ElectricBoxDTO dto);
  28. List<ElectricBoxDTO> getEleBoxListBySectionId(Integer sectionId);
  29. }