From e32abdc1d709d0fb4e363d9b4550c372a67c03ab Mon Sep 17 00:00:00 2001 From: wangzemei Date: Tue, 17 Jun 2025 10:02:56 +0800 Subject: [PATCH] + [task#145330] add the scale_of_verified_story_in_execution metric. --- .../count_of_verified_story_in_execution.php | 2 +- .../scale_of_verified_story_in_execution.php | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 module/metric/calc/execution/scale/scale_of_verified_story_in_execution.php diff --git a/module/metric/calc/execution/scale/count_of_verified_story_in_execution.php b/module/metric/calc/execution/scale/count_of_verified_story_in_execution.php index 790ce37a6b..8e371914df 100755 --- a/module/metric/calc/execution/scale/count_of_verified_story_in_execution.php +++ b/module/metric/calc/execution/scale/count_of_verified_story_in_execution.php @@ -12,7 +12,7 @@ * 定义:执行中所处阶段为已验收、交付中、已交付、已发布和关闭原因为已完成的研发需求个数求和;过滤已删除的研发需求;过滤已删除产品的研发需求;过滤已删除的执行; * * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net) - * @author qixinzhi + * @author Zemei Wang * @package * @uses func * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html) diff --git a/module/metric/calc/execution/scale/scale_of_verified_story_in_execution.php b/module/metric/calc/execution/scale/scale_of_verified_story_in_execution.php new file mode 100755 index 0000000000..6e9a14c39b --- /dev/null +++ b/module/metric/calc/execution/scale/scale_of_verified_story_in_execution.php @@ -0,0 +1,15 @@ +getRecords(array('value')); + return $this->filterByOptions($records, $options); + } +}