Jelajahi Sumber

计算订单身价,修改合赢奖和直推奖的限制

Yangzw 6 bulan lalu
induk
melakukan
dbbc628953

+ 2 - 1
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/controller/admin/orderpercentage/vo/OrderPercentageDoubleSaveReqVO.java

@@ -46,6 +46,7 @@ public class OrderPercentageDoubleSaveReqVO {
     @Schema(description = "用户注册后,获得的基础最大合赢奖、直推奖积分限额")
     private String baseMaxQuota;
 
-
+    @Schema(description = "收藏商品获取身价值,同一SPU商品收藏多次无效", example = "1")
+    private String collectSocialStatus;
 
 }

+ 3 - 0
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/controller/admin/orderpercentage/vo/OrderPercentagePageReqVO.java

@@ -52,4 +52,7 @@ public class OrderPercentagePageReqVO extends PageParam {
 
     @Schema(description = "用户注册后,获得的基础最大合赢奖、直推奖积分限额")
     private String baseMaxQuota;
+
+    @Schema(description = "收藏商品获取身价值,同一SPU商品收藏多次无效", example = "1")
+    private String collectSocialStatus;
 }

+ 3 - 0
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/controller/admin/orderpercentage/vo/OrderPercentageRespVO.java

@@ -62,4 +62,7 @@ public class OrderPercentageRespVO {
 
     @Schema(description = "用户注册后,获得的基础最大合赢奖、直推奖积分限额")
     private String baseMaxQuota;
+
+    @Schema(description = "收藏商品获取身价值,同一SPU商品收藏多次无效", example = "1")
+    private String collectSocialStatus;
 }

+ 3 - 0
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/controller/admin/orderpercentage/vo/OrderPercentageSaveReqVO.java

@@ -46,5 +46,8 @@ public class OrderPercentageSaveReqVO {
     @Schema(description = "用户注册后,获得的基础最大合赢奖、直推奖积分限额")
     private String baseMaxQuota;
 
+    @Schema(description = "收藏商品获取身价值,同一SPU商品收藏多次无效", example = "1")
+    private String collectSocialStatus;
+
 
 }

+ 5 - 0
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/dal/dataobject/orderpercentage/OrderPercentageDO.java

@@ -77,6 +77,11 @@ public class OrderPercentageDO extends BaseDO {
      */
     private String baseMaxQuota;
 
+    /**
+     * 收藏商品获取身价值,同一SPU商品收藏多次无效
+     */
+    private String collectSocialStatus;
+
     public String getGrossProfitBonusQuotaPerc() {
         double grossProfitBonusQuotaPerc = Double.parseDouble(this.grossProfitBonusQuotaPerc);
         if(grossProfitBonusQuotaPerc > GROSS_PROFIT_BONUS_QUOTA_PERC){