package com.ard.gb28181.mapper; import com.ard.gb28181.domain.GbChannel; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 国标通道Mapper接口 * * @author 刘苏义 * @date 2026-05-30 */ @Mapper @Repository public interface GbChannelMapper { GbChannel selectGbChannelById(Long id); List selectGbChannelByGbDeviceId(String gbDeviceId); GbChannel selectByGbDeviceIdAndGbChannelId(@Param("gbDeviceId") String gbDeviceId, @Param("gbChannelId") String gbChannelId); List selectGbChannelList(GbChannel gbChannel); int insertGbChannel(GbChannel gbChannel); int updateGbChannel(GbChannel gbChannel); int updateGbChannelStream(GbChannel gbChannel); int deleteGbChannelById(Long id); int deleteGbChannelByIds(String[] ids); }