From 9e43ec0bbcd868e45ea6239dd865077f135fc51f Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 13 五月 2024 10:25:34 +0800
Subject: [PATCH] 1.dto新增字段

---
 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