diff --git a/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php b/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php new file mode 100755 index 0000000000..cef6b13082 --- /dev/null +++ b/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php @@ -0,0 +1,39 @@ + + * @package + * @uses func + * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html) + * @Link https://www.zentao.net + */ +class count_of_finished_dev_task_in_execution_when_closing extends baseCalc +{ + public $dataset = 'getTasks'; + + public $fieldList = array('t1.type', 't1.status', 't1.closedReason', 't1.finishedDate', 't1.closedDate', 't1.execution', 't2.closedDate AS executionClosedDate'); + + public $result = array(); + + public $initRecord = false; + + public function calculate($row) + { + } + + public function getResult($options = array()) + { + return $this->filterByOptions($this->result, $options); + } +}