|
@@ -197,8 +197,8 @@ public class IllegallyTypeController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
List<Sort.Order> orderList = new ArrayList<>();
|
|
|
- orderList.add(Sort.by.Order(Direction.DESC, "dataCategory"));
|
|
|
- orderList.add(Sort.by.Order(Direction.ASC, "id"));
|
|
|
+ orderList.add(Sort.Order.desc("dataCategory"));
|
|
|
+ orderList.add(Sort.Order.asc("id"));
|
|
|
|
|
|
List<IllegallyTypeEntity> list = illegallyTypeRepo.findAll(specification,
|
|
|
Sort.by(orderList));
|