Browse Source

部门manager字段改为非必填

wudla 3 years ago
parent
commit
51eca04bdf

+ 1 - 1
dmp-org/src/main/java/com/persagy/dmp/org/service/InitService.java

@@ -159,7 +159,7 @@ public class InitService {
                 "  `parent_id` varchar(80) NOT NULL COMMENT '上级部门ID,0:顶级部门',\n" +
                 "  `group_code` varchar(80) NOT NULL COMMENT '集团编码',\n" +
                 "  `resource_from` varchar(80) NOT NULL COMMENT '部门来源',\n" +
-                "  `manager` varchar(80) NOT NULL COMMENT '部门负责人',\n" +
+                "  `manager` varchar(80) COMMENT '部门负责人',\n" +
                 "  `status` int(11) NOT NULL COMMENT '状态',\n" +
                 "  `create_user` varchar(80) DEFAULT NULL COMMENT '创建用户',\n" +
                 "  `update_user` varchar(80) DEFAULT NULL COMMENT '更新用户',\n" +