From c3a5e164cbabbfc5f66e1356cb0de657ce3f58b9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 20 三月 2020 13:56:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/util/rocketmq/consumer/order/InviteOrderSubsidyMessageListener.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/consumer/order/InviteOrderSubsidyMessageListener.java b/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/consumer/order/InviteOrderSubsidyMessageListener.java
index 67d2174..980dc0e 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/consumer/order/InviteOrderSubsidyMessageListener.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/consumer/order/InviteOrderSubsidyMessageListener.java
@@ -119,8 +119,13 @@
 										dto.getSourceType());
 							} else {
 								// 浣挎暟鎹湁鏁�
-								inviteOrderSubsidyService.validByOrderIdAndSourceType(dto.getOrderId(),
-										dto.getSourceType());
+								try {
+									inviteOrderSubsidyService.validByOrderIdAndSourceType(dto.getOrderId(),
+											dto.getSourceType());
+								} catch (InviteOrderSubsidyException e) {
+									e.printStackTrace();
+									return Action.ReconsumeLater;
+								}
 							}
 						}
 					}

--
Gitblit v1.8.0