OA流程事件触发插件,增加数据源编码
This commit is contained in:
parent
09df8bcc6c
commit
8f2ea8d28c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue