+ [task#144636] add the count_of_case_in_type_in_execution func.

This commit is contained in:
wangzemei
2025-06-11 10:23:58 +08:00
parent a48073aad6
commit 482500ec0c
@@ -0,0 +1,15 @@
<?php
class count_of_case_in_type_in_execution extends baseCalc
{
public $dataset = '';
public $fieldList = array();
public $result = array();
public function calculate($row)
{
if(!isset($this->result[$row->type])) $this->result[$row->type] = array();
$this->result[$row->type][$row->id] = $row->id;
}
}