package com.welampiot.dao; import com.welampiot.dto.AirSwitchInfoDTO; import com.welampiot.dto.ElectricModuleDTO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface ElectricModuleDao { Integer add(ElectricModuleDTO electricModuleDTO); Integer update(ElectricModuleDTO electricModuleDTO); List getListByBoxId(@Param("boxId")Integer boxId); Integer deleteByBoxId(@Param("boxId") Integer boxId); ElectricModuleDTO getDetailsById(@Param("id") Integer id); List getModuleAddressById(@Param("boxId") Integer boxId); List getAirSwitchAddressById(@Param("moduleId") Integer moduleId); void updateElectricBoxStatusById(AirSwitchInfoDTO dto); List getModuleAddressByAirIds(@Param("airIds") List airIds); }