项目列表数据不包括拓扑
This commit is contained in:
parent
45e34dc7d1
commit
4d46de071d
@ -222,6 +222,7 @@ public class ProjectController {
|
||||
@RequestParam(defaultValue = "1") @Parameter(description = "页码,默认1") long pageNum,
|
||||
@RequestParam(defaultValue = "20") @Parameter(description = "每页条数,默认20") long pageSize) {
|
||||
QueryWrapper<Project> qw = new QueryWrapper<Project>().orderByDesc("created_at");
|
||||
qw.select("project_id", "code", "name", "description", "visibility", "creator", "created_at", "updated_at", "modifier");
|
||||
if (name != null && !name.isEmpty()) {
|
||||
qw.like("name", name);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user