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

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