武穆逸仙
|
1bed8cd217
|
update document/admin-sqlserver.sql.
1、插入sys_dept示例数据错误:
INSERT INTO sys_dept(parentId, deptName, orderNum, status, delFlag, create_by, create_time) VALUES (100, '研发部门', 1, '0,100', '0', 'admin', GETDATE());
【 '0,100'对应的status字段,调整为0】
2、创建表错误:
CREATE TABLE sys_role_dept (
roleId bigint(20) NOT NULL, -- '角色ID',
deptId bigint(20) NOT NULL , -- '部门ID',
)
修改为
CREATE TABLE sys_role_dept (
roleId bigint NOT NULL, -- '角色ID',
deptId bigint NOT NULL , -- '部门ID',
)
|
2022-03-06 07:14:17 +00:00 |
|