| | |
| | | "(gbStreamId, platformId, catalogId) " + |
| | | "values " + |
| | | "<foreach collection='streamPushItems' index='index' item='item' separator=','> " + |
| | | "(${item.gbStreamId}, '${item.platformId}', '${item.catalogId}')" + |
| | | "(#{item.gbStreamId}, #{item.platformId}, #{item.catalogId})" + |
| | | "</foreach> " + |
| | | "</script>") |
| | | int batchAdd(List<StreamPushItem> streamPushItems); |
| | |
| | | "</foreach>" + |
| | | "</script>") |
| | | void delByAppAndStreamsByPlatformId(List<GbStream> gbStreams, String platformId); |
| | | |
| | | @Delete("DELETE FROM platform_gb_stream WHERE platformId=#{platformId} and catalogId=#{catalogId}") |
| | | int delByPlatformAndCatalogId(String platformId, String catalogId); |
| | | } |