Commit 7d5fd659 authored by Mindfaker's avatar Mindfaker

fix

parent 935baa11
...@@ -41,7 +41,6 @@ public class ClassService { ...@@ -41,7 +41,6 @@ public class ClassService {
} }
PageHelper.startPage(page, limit); PageHelper.startPage(page, limit);
example.setOrderByClause(sort + " " + order); example.setOrderByClause(sort + " " + order);
criteria.andClassNameEqualTo(className);
List<ClassInfo> dataList = classInfoMapper.selectByExample(example); List<ClassInfo> dataList = classInfoMapper.selectByExample(example);
Long total = PageInfo.of(dataList).getTotal(); Long total = PageInfo.of(dataList).getTotal();
return new HashMap(){{ return new HashMap(){{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment