|
@@ -422,7 +422,7 @@ public class FodderServiceImpl extends IBaseServiceImpl<FodderEntity, Long> impl
|
|
searchKey = RegexUtil.sqlReplaceSpecialStr(searchKey);
|
|
searchKey = RegexUtil.sqlReplaceSpecialStr(searchKey);
|
|
condition.and().andLike("name", "%"+searchKey+"%");
|
|
condition.and().andLike("name", "%"+searchKey+"%");
|
|
}
|
|
}
|
|
- List<DirEntity> dirs = dirService.findAll(condition, "create_time");
|
|
|
|
|
|
+ List<DirEntity> dirs = dirService.findAll(condition, "create_time desc");
|
|
|
|
|
|
// 转换实体数据
|
|
// 转换实体数据
|
|
List<FodderEntity> list = new ArrayList<>();
|
|
List<FodderEntity> list = new ArrayList<>();
|