📜  jpql spring boot - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:23.233000             🧑  作者: Mango

代码示例1
@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")User findUserByStatusAndNameNamedParams(  @Param("status") Integer status,   @Param("name") String name);