摘要: @Modifying @Query("update AccountInfo a set a.salary = ?1 where a.salary < ?2") public int increaseSalary(int after, int before); And 等价于 SQL 中的 and 关 阅读全文