This commit is contained in:
tanghucheng
2022-04-26 11:26:03 +08:00
parent 44fe7084c0
commit 60bdd927d1
+3 -1
View File
@@ -68,7 +68,9 @@ class stageModel extends model
$stage->createdDate = helper::today();
$this->dao->insert(TABLE_STAGE)->data($stage)->autoCheck()->checkIF($stage->percent != '', 'percent', 'float')->exec();
if(dao::isError()) return false;
$stageID = $this->dao->lastInsertID();
$this->action->create('stage', $stageID, 'Opened');
}