ALTER TABLE xjr_department ADD COLUMN equal_dept_id bigint COMMENT '等同部门id，对平台公司是所管理板块，注意造成死循环';


UPDATE xjr_department
	SET equal_dept_id=432451392312531611
	WHERE id=230227214110393142;
UPDATE xjr_department
	SET equal_dept_id=301091911701601041
	WHERE id=181164254207252249;
UPDATE xjr_department
	SET equal_dept_id=231832551822043153
	WHERE id=102549941291661721;
UPDATE xjr_department
	SET equal_dept_id=233150193761041949
	WHERE id=175215222631309485;
UPDATE xjr_department
	SET equal_dept_id=206761142156213912
	WHERE id=232179249126164255;
UPDATE xjr_department
	SET equal_dept_id=106255231556925120
	WHERE id=142518200832281161;
UPDATE xjr_department
	SET equal_dept_id=189174211117302364
	WHERE id=117221186201183246;
UPDATE xjr_department
	SET equal_dept_id=181164254207252249
	WHERE id=301091911701601041;
UPDATE xjr_department
	SET equal_dept_id=102549941291661721
	WHERE id=231832551822043153;
UPDATE xjr_department
	SET equal_dept_id=232179249126164255
	WHERE id=206761142156213912;
UPDATE xjr_department
	SET equal_dept_id=142518200832281161
	WHERE id=106255231556925120;
UPDATE xjr_department
	SET equal_dept_id=230227214110393142
	WHERE id=432451392312531611;
UPDATE xjr_department
	SET equal_dept_id=175215222631309485
	WHERE id=233150193761041949;
UPDATE xjr_department
	SET equal_dept_id=117221186201183246
	WHERE id=189174211117302364;


ALTER TABLE xjr_department ADD COLUMN company_lvl integer COMMENT '如果是公司，记录所在层级';


ALTER TABLE xjr_department MODIFY COLUMN area_id varchar(100) COMMENT '所在区域id字符串，区域表id';