20260914224947

This commit is contained in:
oneao committed 2026-09-14 22:49:48 +08:00
1 parent 63514476d7
commit d26afb5fec
69 files changed
+158 -1008

No files matched your search

+6 -6
View File
@@ -22,7 +22,7 @@ GO
drop table if exists dbo.b_othercompany_accountbank;
GO
drop table if exists dbo.b_othercompany_bmfl;
drop table if exists dbo.b_othercompany_category;
GO
drop table if exists dbo.b_othercompany_partner_type;
@@ -126,7 +126,7 @@ GO
分类树
============================================================================ */
create table dbo.b_othercompany_bmfl (
create table dbo.b_othercompany_category (
b_id varchar(150) not null primary key, -- 节点编码(创建后不可改)
b_parent_id varchar(150) null, -- 父节点编码,NULL 表示根节点
b_depth int not null default 0, -- 树层级,根节点为 0
@@ -142,12 +142,12 @@ create table dbo.b_othercompany_bmfl (
);
GO
create index ix_b_othercompany_bmfl_parent
on dbo.b_othercompany_bmfl (b_parent_id, b_canuse, b_depth, b_xh, b_id);
create index ix_b_othercompany_category_parent
on dbo.b_othercompany_category (b_parent_id, b_canuse, b_depth, b_xh, b_id);
GO
create index ix_b_othercompany_bmfl_path
on dbo.b_othercompany_bmfl (b_path, b_canuse, b_id);
create index ix_b_othercompany_category_path
on dbo.b_othercompany_category (b_path, b_canuse, b_id);
GO
/* ============================================================================