package com.welampiot.service; import com.welampiot.common.BaseResult; import com.welampiot.dto.AirSwitchInfoDTO; import com.welampiot.vo.AirSwitchDetailVO; import com.welampiot.vo.AirSwitchInfoReturnVO; import org.apache.ibatis.annotations.Param; import java.util.HashMap; import java.util.List; /** * ClassName: AirSwitchInfoService * Package: com.welampiot.service * Description: * * @Author: zhj_Start * @Create: 2023/3/28 - 21:24 * @Version: v1.0 */ public interface AirSwitchInfoService { AirSwitchInfoReturnVO getAirSwitchInfo(Integer boxId, Integer online); AirSwitchDetailVO getAirSwitchDetail(Integer id); BaseResult add(AirSwitchInfoDTO dto); BaseResult update(AirSwitchInfoDTO dto); Integer delete(AirSwitchInfoDTO dto); Integer deleteByBoxId(@Param("boxId") Integer boxId); AirSwitchInfoDTO getAirSwitchAddressById(Integer id); List getAirSwitchAddressByModuleId(Integer moduleId); void updateAirSwitchStatusById(AirSwitchInfoDTO dto); List getAirSwitchAddressByEleBoxAddr(String address); Integer getAirSwitchCountByEleBoxAddr(String address); AirSwitchInfoDTO getOneAirSwitch(HashMap map); }