* Sort the IDs, the child stage comes first, and the parent stage follows.

This commit is contained in:
hufangzhou
2023-02-20 02:11:04 +00:00
parent 2dd572fc96
commit 1849f501fb
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -985,6 +985,9 @@ class executionModel extends model
$this->loadModel('programplan');
$this->loadModel('action');
/* Sort the IDs, the child stage comes first, and the parent stage follows. */
$executionIdList = $this->dao->select('id')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->orderBy('grade_desc')->fetchPairs();
$pointOutStages = '';
foreach($executionIdList as $executionID)
{