* Adjust solution install progress page.

This commit is contained in:
caoyanyi
2023-10-24 10:56:17 +08:00
parent feeefdc819
commit 9bc06c3846
6 changed files with 52 additions and 11 deletions
+14
View File
@@ -529,4 +529,18 @@ class solutionModel extends model
file_put_contents($errorFile, $message . "\n", FILE_APPEND);
}
/**
* Get last solution.
*
* @access public
* @return object
*/
public function getLastSolution()
{
return $this->dao->select('*')->from(TABLE_SOLUTION)
->where('deleted')->eq(0)
->orderBy('id_desc')
->fetch();
}
}