AirSwitchInfoDao.java 823 B

1234567891011121314151617181920212223242526272829
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.AirSwitchInfoDTO;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. /**
  6. * ClassName: AirSwitchInfoDao
  7. * Package: com.welampiot.dao
  8. * Description:
  9. *
  10. * @Author: zhj_Start
  11. * @Create: 2023/3/28 - 21:19
  12. * @Version: v1.0
  13. */
  14. public interface AirSwitchInfoDao {
  15. List<AirSwitchInfoDTO> getAirSwitchInfoByBoxId(@Param("boxId") Integer boxId, @Param("online") Integer online);
  16. Integer getCountByBoxId(@Param("boxId") Integer boxId);
  17. Integer getCountByBoxIdAndType(@Param("boxId") Integer boxId, @Param("type") Integer type);
  18. Integer getCountByBoxIdAndAlarmStatus(@Param("boxId") Integer boxId);
  19. Integer getPolicyIdByBoxId(@Param("boxId") Integer boxId);
  20. String getPolicyNameByPolicyId(@Param("policyId") Integer policyId);
  21. }