实战springboot踩过的坑

1.findBy...In:省略号中必须是实体类的字段,才能:经过(by)in在(where)查找find。blog 2.it repository:List<ProductCategory> findByCategoryTypeIn(List<Integer> list); Test:List<Integer> integerList=Arrays.asList(1,2,3); Lis
相关文章
相关标签/搜索