项目列表数据不包括拓扑

This commit is contained in:
wanxiaoli 2026-06-04 16:31:06 +08:00
parent 45e34dc7d1
commit 4d46de071d

View File

@ -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);
}