| | |
| | | "SET status=${status} " + |
| | | "WHERE mediaServerId=#{mediaServerId} ") |
| | | void updateStatusByMediaServerId(String mediaServerId, boolean status); |
| | | |
| | | @Select("SELECT * FROM gb_stream WHERE mediaServerId=#{mediaServerId}") |
| | | void delByMediaServerId(String mediaServerId); |
| | | |
| | | @Delete("DELETE FROM gb_stream WHERE streamType=#{type} AND gbId=NULL AND mediaServerId=#{mediaServerId}") |
| | | void deleteWithoutGBId(String type, String mediaServerId); |
| | | |
| | | @Delete("<script> "+ |
| | | "DELETE FROM gb_stream where " + |
| | | "<foreach collection='streamProxyItemList' item='item' separator='or'>" + |
| | | "(app=#{item.app} and stream=#{item.stream}) " + |
| | | "</foreach>" + |
| | | "</script>") |
| | | void batchDel(List<StreamProxyItem> streamProxyItemList); |
| | | } |