新版数智员工

This commit is contained in:
wong
2026-03-24 10:39:16 +08:00
parent 1853934d85
commit 7fb61b77a4
123 changed files with 38491 additions and 1018 deletions

View File

@@ -0,0 +1,12 @@
-- 为流量套餐表添加公司ID和创建用户ID字段
-- 如果字段已存在,会报错,可以忽略
ALTER TABLE `ck_flow_package`
ADD COLUMN `companyId` int(11) NOT NULL DEFAULT 0 COMMENT '公司ID操盘手所属公司' AFTER `id`,
ADD COLUMN `userId` int(11) NOT NULL DEFAULT 0 COMMENT '创建用户ID操盘手用户ID' AFTER `companyId`;
-- 添加索引
ALTER TABLE `ck_flow_package`
ADD INDEX `idx_companyId`(`companyId`) USING BTREE,
ADD INDEX `idx_userId`(`userId`) USING BTREE;