增加summaryId字段

This commit is contained in:
xiangerlin 2025-06-25 17:53:15 +08:00
parent 47eb5fa777
commit 759c328e9f
2 changed files with 4 additions and 3 deletions

View File

@ -84,7 +84,7 @@ public interface ISeeYonInterFace {
* @return * @return
* @throws Exception * @throws Exception
*/ */
JsonResultEntity colEventPost(String jsonStr, String formAppId, String eventType) throws Exception; JsonResultEntity colEventPost(String jsonStr, String formAppId, String eventType,String summaryId) throws Exception;
JsonResultEntity chengeBody(JSONObject jsonObject) throws Exception; JsonResultEntity chengeBody(JSONObject jsonObject) throws Exception;

View File

@ -227,7 +227,7 @@ public class SeeYonInterFaceImpl implements ISeeYonInterFace {
JsonResultEntity result = null; JsonResultEntity result = null;
try { try {
//流程事件处理 //流程事件处理
result = colEventPost(jsonStr, formApp, eventType); result = colEventPost(jsonStr, formApp, eventType,summaryId);
} catch (Exception e) { } catch (Exception e) {
return BaseResult.getFailureMessageEntity("传递失败", e.getMessage()); return BaseResult.getFailureMessageEntity("传递失败", e.getMessage());
} }
@ -483,7 +483,7 @@ public class SeeYonInterFaceImpl implements ISeeYonInterFace {
* @throws Exception * @throws Exception
*/ */
@Override @Override
public JsonResultEntity colEventPost(String jsonStr, String formAppId, String eventType) throws Exception { public JsonResultEntity colEventPost(String jsonStr, String formAppId, String eventType,String summaryId) throws Exception {
if (StrUtil.isNotEmpty(jsonStr) && StrUtil.isNotEmpty(formAppId) && StrUtil.isNotEmpty(eventType)) { if (StrUtil.isNotEmpty(jsonStr) && StrUtil.isNotEmpty(formAppId) && StrUtil.isNotEmpty(eventType)) {
SysApplicationApiEntity sysApplicationApiEntity = new SysApplicationApiEntity(); SysApplicationApiEntity sysApplicationApiEntity = new SysApplicationApiEntity();
sysApplicationApiEntity.setHeaderIn(formAppId + "_" + eventType); sysApplicationApiEntity.setHeaderIn(formAppId + "_" + eventType);
@ -527,6 +527,7 @@ public class SeeYonInterFaceImpl implements ISeeYonInterFace {
reqJson.put("jsonStr",jsonStr); reqJson.put("jsonStr",jsonStr);
reqJson.put("formAppId",formAppId); reqJson.put("formAppId",formAppId);
reqJson.put("eventType",eventType); reqJson.put("eventType",eventType);
reqJson.put("summaryId",summaryId);
reqJson.put("headers",JSON.toJSONString(headerMap)); reqJson.put("headers",JSON.toJSONString(headerMap));
reqJson.put("sourceCode",sysApiDatabase.getSourceCode()); reqJson.put("sourceCode",sysApiDatabase.getSourceCode());
JsonResultEntity result = pluginBaseEntity.executeBusiness(reqJson); JsonResultEntity result = pluginBaseEntity.executeBusiness(reqJson);