spring jpa @Query中使用in

  1.  @Modifying  
  2.     @Query("delete from SmTenant s where s.id in ?1")  
  3.     void deleteByIds(List<Long> id);    
posted @ 2016-09-23 16:58  fashflying  阅读(12008)  评论(2编辑  收藏  举报