会计科目

This commit is contained in:
CRM8000 2024-11-06 10:07:01 +08:00
parent 6d0b6c7bb2
commit b1debd24d3

View File

@ -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);