@Modifying @Query("delete from SmTenant s where s.id in ?1") void deleteByIds(List<Long> id); 转载于:https://www.cnblogs.com/fashflying/p/5900713.html