* Refactor the ajaxGetReviewAmount.

This commit is contained in:
daitingting
2023-09-04 03:18:27 +00:00
parent 19de252d0a
commit 2ec807b54f
3 changed files with 16 additions and 4 deletions
+4 -3
View File
@@ -1324,14 +1324,15 @@ class testcase extends control
}
/**
* Ajax: Get count of need review casese.
* 获取待审核的用例数。
* Ajax: Get amount of casees pending review.
*
* @access public
* @return int
*/
public function ajaxGetReviewCount()
public function ajaxGetReviewAmount()
{
echo $this->dao->select('count(id) as count')->from(TABLE_CASE)->where('status')->eq('wait')->fetch('count');
echo $this->testcaseTao->getReviewAmount();
}
/**