From 745af110af8843dfc3bf29f5590bf78355daf5fd Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期日, 07 七月 2019 01:55:49 +0800
Subject: [PATCH] vc.copyObject 方法用错误了
---
java110-event/src/main/java/com/java110/event/center/event/InvokeBusinessBSuccessEvent.java | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/java110-event/src/main/java/com/java110/event/center/event/InvokeBusinessBSuccessEvent.java b/java110-event/src/main/java/com/java110/event/center/event/InvokeBusinessBSuccessEvent.java
index d7e1ddc..01ab235 100644
--- a/java110-event/src/main/java/com/java110/event/center/event/InvokeBusinessBSuccessEvent.java
+++ b/java110-event/src/main/java/com/java110/event/center/event/InvokeBusinessBSuccessEvent.java
@@ -1,5 +1,6 @@
package com.java110.event.center.event;
+import com.alibaba.fastjson.JSONObject;
import com.java110.core.context.IOrderDataFlowContext;
import com.java110.core.context.OrderDataFlow;
import com.java110.entity.order.Business;
@@ -11,6 +12,25 @@
public class InvokeBusinessBSuccessEvent extends DataFlowEvent {
private Business business;
+
+ /**
+ * 涓氬姟绯荤粺杩斿洖鏁版嵁
+ */
+ private JSONObject businessResponseData;
+
+
+ /**
+ * Constructs a prototypical Event.
+ *
+ * @param source The object on which the Event initially occurred.
+ * @param dataFlow
+ * @throws IllegalArgumentException if source is null.
+ */
+ public InvokeBusinessBSuccessEvent(Object source, IOrderDataFlowContext dataFlow, Business business,JSONObject businessResponseData) {
+ super(source, dataFlow);
+ this.business = business;
+ this.businessResponseData = businessResponseData;
+ }
/**
* Constructs a prototypical Event.
@@ -27,4 +47,12 @@
public Business getBusiness() {
return business;
}
+
+ /**
+ * 鑾峰彇涓氬姟鏁版嵁
+ * @return
+ */
+ public JSONObject getBusinessResponseData() {
+ return businessResponseData;
+ }
}
--
Gitblit v1.8.0