OA流程事件触发插件,增加数据源编码

This commit is contained in:
xiang2lin 2025-06-03 16:32:12 +08:00
parent 09df8bcc6c
commit 8f2ea8d28c
1 changed files with 1 additions and 5 deletions

View File

@ -528,17 +528,13 @@ public class SeeYonInterFaceImpl implements ISeeYonInterFace {
reqJson.put("formAppId",formAppId);
reqJson.put("eventType",eventType);
reqJson.put("headers",JSON.toJSONString(headerMap));
reqJson.put("sourceCode",sysApiDatabase.getSourceCode());//数据源编码参数名和定时任务调用插件保持一致
reqJson.put("sourceCode",sysApiDatabase.getSourceCode());
JsonResultEntity result = pluginBaseEntity.executeBusiness(reqJson);
return result;
} else {
throw new BaseSystemException("根据formID" + formAppId + "未获取到head参数");
}
}
}else{
// StrUtil.isNotEmpty(jsonStr) && StrUtil.isNotEmpty(formAppId) && StrUtil.isNotEmpty(eventType)
logger.info("jsonStr,formAppId,eventType为空执行错误"+jsonStr+formAppId+eventType);
throw new BaseSystemException("jsonStr,formAppId,eventType为空执行错误");
}
return null;
}