/**
* 根据userName模糊查询
* @param userName
* @return
*/
@Query("select a from AssetDeptReadConfig a where a.userName like %?1%")
List<AssetDeptReadConfig> findByUserName(String userName);
【Spring-data-jpa】根据userName模糊查询
最新推荐文章于 2023-08-31 10:01:49 发布