fix: BE cn/en locales

This commit is contained in:
2023-11-21 20:59:38 +08:00
parent 753779aa17
commit abba0664fd
11 changed files with 801 additions and 46 deletions

View File

@@ -88,4 +88,39 @@ VALUES (
NULL
);
-- for cn/en locale
UPDATE `omc_db`.`sys_dept`
SET
`parent_id` = 0,
`ancestors` = '0',
`dept_name` = 'dept.root',
`order_num` = 0,
`leader` = 'supervisor',
`phone` = NULL,
`email` = NULL,
`status` = '1',
`del_flag` = '0',
`create_by` = 'supervisor',
`create_time` = 1699348237468,
`update_by` = NULL,
`update_time` = 0
WHERE `dept_id` = 100;
UPDATE `omc_db`.`sys_dept`
SET
`parent_id` = 100,
`ancestors` = '0,100',
`dept_name` = 'dept.root.item1',
`order_num` = 1,
`leader` = 'supervisor',
`phone` = NULL,
`email` = NULL,
`status` = '1',
`del_flag` = '0',
`create_by` = 'supervisor',
`create_time` = 1699348237468,
`update_by` = NULL,
`update_time` = 0
WHERE `dept_id` = 101;
SET FOREIGN_KEY_CHECKS=1;