会计科目

This commit is contained in:
CRM8000 2024-10-06 16:58:54 +08:00
parent b5767fce1e
commit cf5b23755a

View File

@ -1148,6 +1148,7 @@ class SubjectDAO extends PSIBaseExDAO
return $this->sqlError(__METHOD__, __LINE__); return $this->sqlError(__METHOD__, __LINE__);
} }
// 创建凭证分录的附加表
$n = substr($tableName, strlen("t_acc_")); // 去掉't_acc_'前缀 $n = substr($tableName, strlen("t_acc_")); // 去掉't_acc_'前缀
$sql = "CREATE TABLE IF NOT EXISTS `t_voucher_detail_{$n}` ( $sql = "CREATE TABLE IF NOT EXISTS `t_voucher_detail_{$n}` (
`id` varchar(255) NOT NULL, `id` varchar(255) NOT NULL,