|
@@ -54,7 +54,7 @@ public class DictController {
|
|
|
.or()
|
|
.or()
|
|
|
.like(DictType::getDictName, dictType.getKeyword()));
|
|
.like(DictType::getDictName, dictType.getKeyword()));
|
|
|
}
|
|
}
|
|
|
- queryWrapper.orderByAsc(DictType::getId);
|
|
|
|
|
|
|
+ queryWrapper.orderByDesc(DictType::getSord);
|
|
|
Page<DictType> dictTypePage = new Page<>(dictType.getPageNo(),dictType.getPageSize());
|
|
Page<DictType> dictTypePage = new Page<>(dictType.getPageNo(),dictType.getPageSize());
|
|
|
Page<DictType> pageInfo = dictTypeService.page(dictTypePage,queryWrapper);
|
|
Page<DictType> pageInfo = dictTypeService.page(dictTypePage,queryWrapper);
|
|
|
return Result.success(pageInfo);
|
|
return Result.success(pageInfo);
|