实战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
相关文章
相关标签/搜索