增加summaryId字段
This commit is contained in:
parent
47eb5fa777
commit
759c328e9f
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue