feat: 项目绩效统计新增当月规划/准时上线指标并修复准时率口径
- ProgramCountDTO +2 字段:planReleaseStoryNum / onTimeNum - IZtCountService.monthScopeByProgram 接入 storyReleaseOnTimeByProducts (自然月1~31口径,复用产品经理绩效同款 SQL,老 ±15 天口径不动) - IZtCountService 团队准时率:零任务成员(无分配工时)不参与平均, 避免个人准时率按 0 拉低团队值 - ZtStoryMapper storyReleaseOnTimeByProducts 准时子查询增加 releasedDate >= '2000-01-01' 哨兵,排除禅道历史零日期('0000-00-00') 导致未发布需求被误计准时的缺陷 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1397,6 +1397,7 @@
|
||||
</foreach>) planReleaseStoryNum,
|
||||
(SELECT count(1) waitRelease from zt_story
|
||||
WHERE plan_end_date >=#{startTime} and plan_end_date <=#{endTime}
|
||||
and releasedDate >='2000-01-01'
|
||||
and releasedDate <=plan_end_date
|
||||
and releasedDate <=#{endTime}
|
||||
and status not in ('closed')
|
||||
|
||||
Reference in New Issue
Block a user