From 82030c489dc4aaf2759880e33e8734ee3fb2d96d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 27 一月 2020 22:12:15 +0800
Subject: [PATCH] 加入临时车缴费清单
---
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