You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

114 lines
3.6 KiB

{
"configKey": "sys_dept",
"description": "部门表双向同步",
"enabled": true,
"v1": {
"table": "sys_dept",
"primaryKey": ["dept_id"],
"updateTimeColumn": "update_time",
"deleteFlagColumn": "del_flag",
"columns": [
"dept_id", "parent_id", "ancestors", "dept_name", "order_num",
"phone", "email", "status", "del_flag",
"create_time", "update_time",
"dept_type",
"zzLevel", "code", "mappingUnitParentId", "updateAt", "createAt",
"effectOn", "organizationId", "sequence", "isDeleted", "zzDisplayPath",
"name", "guid", "zzIsLeaf", "isDisabled", "fullname", "isMappingUnit",
"srzUnitId", "taskId", "organizationParentId", "systemId", "creditcode",
"zone", "unitStatusCode", "unitStatus", "unitTypeCode", "area_node"
]
},
"v2": {
"table": "sys_dept",
"primaryKey": ["dept_id"],
"updateTimeColumn": "update_time",
"deleteFlagColumn": "del_flag",
"columns": [
"dept_id", "parent_id", "ancestors", "dept_name", "order_num",
"phone", "email", "status", "del_flag",
"create_time", "update_time",
"dept_type",
"zzLevel", "code", "mappingUnitParentId", "updateAt", "createAt",
"effectOn", "organizationId", "sequence", "isDeleted", "zzDisplayPath",
"name", "guid", "zzIsLeaf", "isDisabled", "fullname", "isMappingUnit",
"srzUnitId", "taskId", "organizationParentId", "systemId", "creditcode",
"zone", "unitStatusCode", "unitStatus", "unitTypeCode", "area_node",
"tenant_id", "create_dept"
]
},
"columnMapping": {
"dept_id": "dept_id",
"parent_id": "parent_id",
"ancestors": "ancestors",
"dept_name": "dept_name",
"order_num": "order_num",
"phone": "phone",
"email": "email",
"status": "status",
"del_flag": "del_flag",
"create_time": "create_time",
"update_time": "update_time",
"dept_type": "dept_type",
"zzLevel": "zzLevel",
"code": "code",
"mappingUnitParentId": "mappingUnitParentId",
"updateAt": "updateAt",
"createAt": "createAt",
"effectOn": "effectOn",
"organizationId": "organizationId",
"sequence": "sequence",
"isDeleted": "isDeleted",
"zzDisplayPath": "zzDisplayPath",
"name": "name",
"guid": "guid",
"zzIsLeaf": "zzIsLeaf",
"isDisabled": "isDisabled",
"fullname": "fullname",
"isMappingUnit": "isMappingUnit",
"srzUnitId": "srzUnitId",
"taskId": "taskId",
"organizationParentId": "organizationParentId",
"systemId": "systemId",
"creditcode": "creditcode",
"zone": "zone",
"unitStatusCode": "unitStatusCode",
"unitStatus": "unitStatus",
"unitTypeCode": "unitTypeCode",
"area_node": "area_node"
},
"hashColumns": [
"parent_id", "ancestors", "dept_name", "order_num",
"phone", "email", "status",
"dept_type",
"zzLevel", "code", "mappingUnitParentId", "updateAt", "createAt",
"effectOn", "organizationId", "sequence", "isDeleted", "zzDisplayPath",
"name", "guid", "zzIsLeaf", "isDisabled", "fullname", "isMappingUnit",
"srzUnitId", "taskId", "organizationParentId", "systemId", "creditcode",
"zone", "unitStatusCode", "unitStatus", "unitTypeCode", "area_node"
],
"typeConverters": {},
"v2OnlyColumnsIgnoredOnV1": ["tenant_id", "create_dept"],
"v2OnlyColumnsDefaults": {
"tenant_id": "000000",
"create_dept": null
},
"firstOwnerFallback": "V1",
"deleteMode": "logical",
"logicalDelete": {
"v1": { "column": "del_flag", "value": 1 },
"v2": { "column": "del_flag", "value": 1 }
},
"strictOwnerMode": false,
"scanBatchSize": 1000,
"maxRetry": 5
}