class DataSourceParam implements ProcessAddTaskParam, InitializingBean {

    @Override
    public JsonNode addExportSpecialParam(JsonNode taskNode) {
        // add sqlParameters
        ObjectNode sqlParameters = (ObjectNode) taskNode.path(PARAMS);
        DataSource dataSource = dataSourceMapper.selectById(sqlParameters.get("datasource").asInt());
        if (null != dataSource) {
            sqlParameters.put("datasourceName", dataSource.getName());
        }
        ((ObjectNode)taskNode).set(PARAMS, sqlParameters);

        return taskNode;
    }

}