From e90a2ac0a7e736d41fb0f69cf6093bf56bb17159 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期二, 04 六月 2024 17:47:30 +0800
Subject: [PATCH] 咨询记录-新增方法

---
 phis-feign/src/main/java/com/hz/his/constant/ActivityPreferentialConstants.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/constant/ActivityPreferentialConstants.java b/phis-feign/src/main/java/com/hz/his/constant/ActivityPreferentialConstants.java
index e084f5e..9a88017 100644
--- a/phis-feign/src/main/java/com/hz/his/constant/ActivityPreferentialConstants.java
+++ b/phis-feign/src/main/java/com/hz/his/constant/ActivityPreferentialConstants.java
@@ -1,5 +1,7 @@
 package com.hz.his.constant;
 
+import com.hx.util.StringUtils;
+
 /**
  * 娲诲姩浼樻儬绫诲瀷
  * @USER: fhx
@@ -30,4 +32,18 @@
             default: return "鏈煡";
         }
     }
+
+    /** 妫�鏌ュ垽鏂槸鍚﹁禒閫佺被鍨� */
+    public static boolean checkGiftType(String type){
+        if(StringUtils.isEmpty(type)){
+            return false;
+        }
+
+        if(TYPE_GIFT_COUPON.equals(type)
+                || TYPE_GIFT_INTEGRAL.equals(type)
+                || TYPE_GIFT_PROJECT.equals(type)){
+            return true;
+        }
+        return false;
+    }
 }

--
Gitblit v1.8.0