Commit 5ac64359 by 阳浪

sort排序

parent 688d10b7
...@@ -64,6 +64,9 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio ...@@ -64,6 +64,9 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio
DataClassification data = new DataClassification(); DataClassification data = new DataClassification();
data.setParentId(parentId); data.setParentId(parentId);
EntityWrapper<DataClassification> wrapper = new EntityWrapper<DataClassification>(data); EntityWrapper<DataClassification> wrapper = new EntityWrapper<DataClassification>(data);
List<String> list = new ArrayList<String>();
list.add("sort");
wrapper.orderDesc(list);
return this.selectList(wrapper); return this.selectList(wrapper);
} }
......
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