From 0a54c5df5c1a1f77570a07ff008ed90ff9d17da4 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 27 Sep 2021 15:51:29 +0800 Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/xc-mall --- src/main/java/cc/mrbird/febs/mall/entity/AgentInfo.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/entity/AgentInfo.java b/src/main/java/cc/mrbird/febs/mall/entity/AgentInfo.java index 86b661e..e74df9d 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/AgentInfo.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/AgentInfo.java @@ -15,6 +15,8 @@ * 下单数量要求 1-直推 2-团队 */ private Integer orderType; + public static final Integer ORDER_TYPE_DIRECT = 1; + public static final Integer ORDER_TYPE_TEAM = 2; /** * 下单数量 @@ -39,6 +41,7 @@ /** * 团队收益 1-指定金额 2-比例 */ - private BigDecimal teamIncomeType; - + private Integer teamIncomeType; + public static final Integer TEAM_INCOME_TYPE_AMOUNT = 1; + public static final Integer TEAM_INCOME_TYPE_RATIO = 2; } -- Gitblit v1.9.1