修复综合看板
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user