From 1bada3da32aa8b29509b7357e5adfe816ac17c72 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 16 Jul 2021 10:29:33 +0800
Subject: [PATCH] fix

---
 gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java b/gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java
index a46f892..ba7bf1f 100644
--- a/gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java
+++ b/gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java
@@ -57,6 +57,11 @@
         Integer count = userHeadDetailsMapper.selectDetailsCount(userId);
 //        UserInfo userInfo = userMapper.selectByPrimaryKey(userId);
         AccountInfo accountInfo = accountMapper.selectAccountInfoByUserId(userHeadRelate.getHeadUserId());
+
+        if (AccountInfo.IS_PROHIBIT_Y.equals(accountInfo.getIsProhibit())) {
+            return;
+        }
+
         List<String> remark = new ArrayList<>();
         BigDecimal totalReturnScore = BigDecimal.ZERO;
         BigDecimal totalReturnCoin = BigDecimal.ZERO;

--
Gitblit v1.9.1