package com.welampiot.service; import com.welampiot.common.BaseResult; import com.welampiot.dto.ElectricBoxDTO; import com.welampiot.vo.ElectricBoxReturnVO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ClassName: ElectricBoxService * Package: com.welampiot.service * Description: * * @Author: zhj_Start * @Create: 2023/3/25 - 14:37 * @Version: v1.0 */ public interface ElectricBoxService { ElectricBoxReturnVO getElectricBoxListBySectionId(ElectricBoxDTO dto); Integer getTotalByStatus(ElectricBoxDTO dto); Integer getLoopEleBoxTotalByDTO(ElectricBoxDTO dto); Integer getOnlineTotalByStatus(ElectricBoxDTO dto); Integer getOfflineTotalByStatus(ElectricBoxDTO dto); BaseResult add(ElectricBoxDTO dto); BaseResult update(ElectricBoxDTO dto); Integer checkData(ElectricBoxDTO dto); Integer delete(ElectricBoxDTO dto); ElectricBoxDTO getDetailsById(@Param("id") Integer id); void changeElectricBoxLocationById(ElectricBoxDTO dto); List getEleBoxListBySectionId(Integer sectionId); }