* Adjust the capitalization of mysql query keywords.

This commit is contained in:
xushenjie
2023-05-09 11:59:55 +00:00
parent 8260439b3b
commit ffbe2bfc4a
+1 -1
View File
@@ -1318,7 +1318,7 @@ class programplanModel extends model
*/
public function checkLeafStage(int $stageID): bool
{
$subStageNumbers = $this->dao->select('count(`id`) as total')->from(TABLE_EXECUTION)
$subStageNumbers = $this->dao->select('COUNT(`id`) as total')->from(TABLE_EXECUTION)
->where('parent')->eq($stageID)
->andWhere('deleted')->eq(0)
->fetch('total');