diff --git a/web/Application/SLN0002/DAO/SubjectDAO.class.php b/web/Application/SLN0002/DAO/SubjectDAO.class.php index e4ddd371..abcdc56b 100644 --- a/web/Application/SLN0002/DAO/SubjectDAO.class.php +++ b/web/Application/SLN0002/DAO/SubjectDAO.class.php @@ -1051,6 +1051,17 @@ class SubjectDAO extends PSIBaseExDAO } } + // 标记科目已经完成初始化 + // id:科目id + $id = $params["id"]; + $sql = "update t_subject + set inited = 1 + where id = '%s' "; + $rc = $db->execute($sql, $id); + if ($rc === false) { + return $this->sqlError(__METHOD__, __LINE__); + } + // 生成日志内容 $sql = "select name from t_org where id = '%s' "; $data = $db->query($sql, $companyId);