修复综合看板

This commit is contained in:
2026-04-22 18:44:14 +08:00
parent 50527f68e0
commit 602928dc0b
9 changed files with 168 additions and 89 deletions

View File

@@ -284,4 +284,14 @@ public class SysOaProjectVo {
private Long processCardCount;
private Long deliveryOrderCount;
// 总览页面统计
private Long taskFinishCount;
private Long taskTotalCount;
private Long scheduleTotalCount;
private Long scheduleFinishCount;
}

View File

@@ -221,6 +221,7 @@ public class SysOaProjectServiceImpl implements ISysOaProjectService {
}
qw.eq(bo.getCustomerId() != null, "p.customer_id", bo.getCustomerId());
qw.orderByDesc("p.is_top").orderByDesc("p.create_time");
qw.groupBy("p.project_id");
return qw;
}

View File

@@ -154,6 +154,7 @@ public class SysOaTaskServiceImpl implements ISysOaTaskService {
QueryWrapper<SysOaTask> lqw = Wrappers.query();
lqw.eq("sot.del_flag", 0);
lqw.eq(bo.getProjectId()!=null, "sot.project_id", bo.getProjectId());
lqw.eq(bo.getTaskId()!=null, "sot.task_id", bo.getTaskId());
lqw.eq(bo.getCreateUserId()!=null, "sot.create_user_id", bo.getCreateUserId());
lqw.eq(bo.getWorkerId()!=null, "sot.worker_id", bo.getWorkerId());
lqw.eq(bo.getProjectId()!=null, "sot.project_id", bo.getProjectId());