TASK:cloud;
This commit is contained in:
@@ -36,4 +36,6 @@ public class ProjectQueryDTO extends PageQueryBaseVo {
|
||||
private Integer intersection;
|
||||
|
||||
private String process;
|
||||
|
||||
private Integer asc;
|
||||
}
|
||||
|
||||
@@ -1348,7 +1348,11 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
queryWrapper.in("id", projectIdList);
|
||||
}
|
||||
}
|
||||
queryWrapper.orderByDesc("update_time");
|
||||
if (query.getAsc() == 1) {
|
||||
queryWrapper.orderByAsc("update_time");
|
||||
}else {
|
||||
queryWrapper.orderByDesc("update_time");
|
||||
}
|
||||
IPage<Project> page = projectMapper.selectPage(
|
||||
new Page<>(query.getPage(), query.getSize()), queryWrapper);
|
||||
if (CollectionUtils.isEmpty(page.getRecords())) {
|
||||
|
||||
Reference in New Issue
Block a user