package com.casic.dao; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; @Mapper public interface HourDataDao { @Select("SELECT DEVCODE " + "FROM ALARM_DEVICE " + "WHERE DEVICETYPE_ID=#{deviceType}" + "AND ACTIVE=1 ") List<String> getListDevcodeByType(@Param("deviceType")String deviceType); }