* Add firstEnd field in table project and record end date when start a execution.

This commit is contained in:
qixinzhi
2023-09-22 06:44:15 +00:00
parent 227f716986
commit d82fa1b70e
3 changed files with 22 additions and 0 deletions
+1
View File
@@ -1209,6 +1209,7 @@ class executionModel extends model
->checkFlow()
->where('id')->eq((int)$executionID)
->exec();
$this->loadModel('project')->recordFirstEnd($executionID);
/* When it has multiple errors, only the first one is prompted */
if(dao::isError() and count(dao::$errors['realBegan']) > 1) dao::$errors['realBegan'] = dao::$errors['realBegan'][0];