* Add case of execution model.

This commit is contained in:
田淑杰
2023-01-09 17:00:38 +08:00
parent 163d35a19a
commit d4b5b3c46b
2 changed files with 38 additions and 14 deletions
+1 -8
View File
@@ -1651,15 +1651,8 @@ class executionTest
*/
public function getBurnDataFlotTest($executionID = 0)
{
$date = date("Y-m-d");
$object = $this->objectModel->getBurnDataFlot($executionID, $burnBy = 'left');
$todayData = array();
if(isset($object[$date]))
{
foreach($object[$date] as $key => $value) $todayData[$key] = $value;
}
if(dao::isError())
{
$error = dao::getError();
@@ -1667,7 +1660,7 @@ class executionTest
}
else
{
return sizeof($todayData);
return $object;
}
}