YJ
2021-05-17 c960041c8912c4118cb45317e58384286c7fb4d1
facade-vip/src/main/java/com/ks/vip/service/VipGradePotenceService.java
@@ -2,6 +2,7 @@
import com.ks.vip.pojo.DO.VipGradePotence;
import com.ks.vip.pojo.Enums.VIPEnum;
import java.util.List;
@@ -18,4 +19,26 @@
   public VipGradePotence selectByPrimaryKey(Long id);
   public void delete(Long id);
   /**
    * 根据等级Id查询权益
    * @param gradeId
    * @return
    */
   public VipGradePotence getPotenceByGradeId(Long gradeId);
   /**
    * 获取默认权益
    * @return
    */
   public VipGradePotence getDefaultGradePotence();
   /**
    * 根据枚举类型查询权益
    * @param vipEnum
    * @return
    */
   public VipGradePotence getPotenceByVipEnum(VIPEnum vipEnum);
}