| | |
| | | @Repository |
| | | public interface PlatformGbStreamMapper { |
| | | |
| | | @Insert("REPLACE INTO wvp_platform_gb_stream (gb_stream_id, platform_id, catalog_id) VALUES" + |
| | | @Insert("INSERT INTO wvp_platform_gb_stream (gb_stream_id, platform_id, catalog_id) VALUES" + |
| | | "( #{gbStreamId}, #{platformId}, #{catalogId})") |
| | | int add(PlatformGbStream platformGbStream); |
| | | |
| | |
| | | "</script>") |
| | | void delByAppAndStreamsByPlatformId(@Param("gbStreams") List<GbStream> gbStreams, @Param("platformId") String platformId); |
| | | |
| | | @Delete("DELETE from wvp_platform_gb_stream WHERE platform_id=#{platformId} and catalog_id=#{catalogId}") |
| | | @Delete("<script> "+ |
| | | "DELETE from wvp_platform_gb_stream WHERE platform_id=#{platformId}" + |
| | | " <if test='catalogId != null' > and catalog_id=#{catalogId}</if>" + |
| | | "</script>") |
| | | int delByPlatformAndCatalogId(@Param("platformId") String platformId, @Param("catalogId") String catalogId); |
| | | } |