Open andy24 opened 7 years ago
請問一下,我看SysUserRepository需要implement findOneWithRolesByUsername function,但我找不到實作的程式,可以請教你一下,在哪呢?
@andy24 这就是spring data的用法啊,只要写接口spring 根据接口的名字帮你实现的。。。。
根據spring data的說法,並沒有findOneWith的用法,請問這哪裡有寫呢?
https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation
請問一下,我看SysUserRepository需要implement findOneWithRolesByUsername function,但我找不到實作的程式,可以請教你一下,在哪呢?