648540858
2023-05-16 be9bf60e81e22d717199d73886a04ab3019390ab
src/main/java/com/genersoft/iot/vmp/storager/dao/StreamProxyMapper.java
@@ -1,7 +1,7 @@
package com.genersoft.iot.vmp.storager.dao;
import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem;
import com.genersoft.iot.vmp.vmanager.bean.ResourceBaceInfo;
import com.genersoft.iot.vmp.vmanager.bean.ResourceBaseInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
@@ -78,5 +78,12 @@
    List<StreamProxyItem> selectAutoRemoveItemByMediaServerId(String mediaServerId);
    @Select("select count(1) as total, sum(status) as online from wvp_stream_proxy")
    ResourceBaceInfo getOverview();
    ResourceBaseInfo getOverview();
    @Select("select count(1) from wvp_stream_proxy")
    int getAllCount();
    @Select("select count(1) from wvp_stream_proxy where status = true")
    int getOnline();
}