+ [task#145330] add the scale_of_verified_story_in_execution metric.

This commit is contained in:
wangzemei
2025-06-17 10:02:56 +08:00
parent 2a531f4a6d
commit e32abdc1d7
2 changed files with 16 additions and 1 deletions
@@ -12,7 +12,7 @@
* 定义:执行中所处阶段为已验收、交付中、已交付、已发布和关闭原因为已完成的研发需求个数求和;过滤已删除的研发需求;过滤已删除产品的研发需求;过滤已删除的执行;
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
* @author qixinzhi <qixinzhi@easycorp.ltd>
* @author Zemei Wang <wangzemei@easycorp.ltd>
* @package
* @uses func
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
@@ -0,0 +1,15 @@
<?php
class scale_of_verified_story_in_execution extends baseCalc
{
public $dataset = '';
public $fieldList = array();
public $result = 0;
public function getResult($options = array())
{
$records = $this->getRecords(array('value'));
return $this->filterByOptions($records, $options);
}
}