spring jpa @Query中使用in

  1.  @Modifying  
  2.     @Query("delete from SmTenant s where s.id in ?1")  
  3.     void deleteByIds(List<Long> id);    
原文地址:https://www.cnblogs.com/fashflying/p/5900713.html