| | |
| | | "left join platform_gb_channel pgc on " + |
| | | "pp.serverGBId = pgc.platformId " + |
| | | "WHERE " + |
| | | "pgc.channelId = #{channelId} " + |
| | | "pgc.channelId = #{channelId} and pp.status = true " + |
| | | "AND pp.serverGBId IN" + |
| | | "<foreach collection='platforms' item='item' open='(' separator=',' close=')' > #{item}</foreach>" + |
| | | "</script> ") |
| | | List<ParentPlatform> queryPlatFormListForGBWithGBId(String channelId, List<String> platforms); |
| | | |
| | | @Delete("<script> " + |
| | | "DELETE FROM platform_gb_channel WHERE platformId=#{serverGBId}" + |
| | | "</script>") |
| | | void delByPlatformId(String serverGBId); |
| | | } |