|  |  | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.GbStream; | 
 |  |  | import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; | 
 |  |  | import org.apache.ibatis.annotations.*; | 
 |  |  | import org.omg.PortableInterceptor.INACTIVE; | 
 |  |  | // import org.omg.PortableInterceptor.INACTIVE; | 
 |  |  | import org.springframework.stereotype.Repository; | 
 |  |  |  | 
 |  |  | import java.util.Collection; | 
 |  |  | 
 |  |  | public interface StreamPushMapper { | 
 |  |  |  | 
 |  |  |     @Insert("INSERT INTO stream_push (app, stream, totalReaderCount, originType, originTypeStr, " + | 
 |  |  |             "createStamp, aliveSecond, mediaServerId) VALUES" + | 
 |  |  |             "createStamp, aliveSecond, mediaServerId, serverId) VALUES" + | 
 |  |  |             "('${app}', '${stream}', '${totalReaderCount}', '${originType}', '${originTypeStr}', " + | 
 |  |  |             "'${createStamp}', '${aliveSecond}', '${mediaServerId}' )") | 
 |  |  |             "'${createStamp}', '${aliveSecond}', '${mediaServerId}' , '${serverId}' )") | 
 |  |  |     int add(StreamPushItem streamPushItem); | 
 |  |  |  | 
 |  |  |     @Update("UPDATE stream_push " + |