package com.welampiot.dao; import com.welampiot.dto.AirSwitchInfoDTO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ClassName: AirSwitchInfoDao * Package: com.welampiot.dao * Description: * * @Author: zhj_Start * @Create: 2023/3/28 - 21:19 * @Version: v1.0 */ public interface AirSwitchInfoDao { List getAirSwitchInfoByBoxId(@Param("boxId") Integer boxId, @Param("online") Integer online); Integer getCountByBoxId(@Param("boxId") Integer boxId); Integer getCountByBoxIdAndType(@Param("boxId") Integer boxId, @Param("type") Integer type); Integer getCountByBoxIdAndAlarmStatus(@Param("boxId") Integer boxId); Integer getPolicyIdByBoxId(@Param("boxId") Integer boxId); String getPolicyNameByPolicyId(@Param("policyId") Integer policyId); }