瀏覽代碼

fixed 开卡赠礼问题

fushengqian 6 月之前
父節點
當前提交
c840a11df0

+ 3 - 0
fuint-application/src/main/java/com/fuint/common/service/impl/OpenGiftServiceImpl.java

@@ -248,6 +248,9 @@ public class OpenGiftServiceImpl extends ServiceImpl<MtOpenGiftMapper, MtOpenGif
         if (user == null) {
             throw new BusinessCheckException("会员状态异常");
         }
+        if (user.getIsStaff().equals(YesOrNoEnum.YES.getKey())) {
+            return false;
+        }
         if (user.getGradeId() == null && StringUtil.isEmpty(user.getGradeId())) {
             user.setGradeId("0");
         }