Files
geg-gas-pcitc/script/20240401/人员同步-mysql.sql
2025-02-08 17:51:37 +08:00

22 lines
872 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ALTER TABLE xjr_department ADD COLUMN is_sync VARCHAR(1) NOT NULL DEFAULT 'Y'
COMMENT '是否同步';
ALTER TABLE xjr_user ADD COLUMN is_sync VARCHAR(1) NOT NULL DEFAULT 'Y'
COMMENT '是否同步';
ALTER TABLE xjr_user_dept_relation ADD COLUMN is_sync VARCHAR(1) NOT NULL DEFAULT 'Y'
COMMENT '是否同步';
COMMENT ON
COLUMN "xjr_department"."department_type" IS '部门类型2板块1公司0部门';
ALTER TABLE xjr_user_dept_relation ADD COLUMN is_main VARCHAR(1) NOT NULL DEFAULT 'Y'
COMMENT '是否主职/默认部门';
ALTER TABLE xjr_user_dept_relation ADD COLUMN sort_code integer
COMMENT '在该部门内的排序';
-- Auto-generated SQL script #202403261200
INSERT INTO xjr_menu_button (id,name,menu_id,code,url,method)
VALUES (1664153798119171151,'同步组织人员',1419276797568356352,'user:syncOrgAndUser','syncOrgAndUser',1);