code: private void initMappingConfig(String key, MappingConfig baseConfigMap, MirrorDbConfig mirrorDbConfig, Dml dml) {
          MappingConfig mappingConfig = mirrorDbConfig.getTableConfig().get(key);
          if (mappingConfig == null) {
              // 构造表配置
              mappingConfig = new MappingConfig();
              mappingConfig.setDataSourceKey(baseConfigMap.getDataSourceKey());
              mappingConfig.setDestination(baseConfigMap.getDestination());
              mappingConfig.setGroupId(baseConfigMap.getGroupId());
              mappingConfig.setOuterAdapterKey(baseConfigMap.getOuterAdapterKey());
              mappingConfig.setConcurrent(baseConfigMap.getConcurrent());
              MappingConfig.DbMapping dbMapping = new MappingConfig.DbMapping();
              mappingConfig.setDbMapping(dbMapping);
              dbMapping.setDatabase(dml.getDatabase());
              dbMapping.setTable(dml.getTable());
              dbMapping.setTargetDb(dml.getDatabase());
              dbMapping.setTargetTable(dml.getTable());
              dbMapping.setMapAll(true);
              List<String> pkNames = dml.getPkNames();
              Map<String, String> pkMapping = new LinkedHashMap<>();
              pkNames.forEach(pkName -> pkMapping.put(pkName, pkName));
              dbMapping.setTargetPk(pkMapping);
  
              mirrorDbConfig.getTableConfig().put(key, mappingConfig);
          }
      }
docs: 初始化表配置
  
  @param key 配置key: destination.database.table
  @param baseConfigMap db sync config
  @param dml DML