實戰springboot踩過的坑

1.findBy...In:省略號中必須是實體類的字段,才能:通過(by)in在(where)查找find。 2. repository:List<ProductCategory> findByCategoryTypeIn(List<Integer> list); Test:List<Integer> integerList=Arrays.asList(1,2,3); List<Prod
相關文章
相關標籤/搜索