ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/model/OrderGood.java
@@ -76,7 +76,7 @@ @ApiModelProperty(value = "获取返佣积分上级类型(1=直推上级,2=直帮上级)") @TableField("superior_type") private Integer superiorType; private String superiorType; @ApiModelProperty(value = "获取分佣金额上级类型(1=直推上级,2=直帮上级)") @TableField("superior_price_type") ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/vo/MyShoppingCartVo.java
@@ -56,7 +56,7 @@ /** * 获取返佣积分上级类型(1=直推上级,2=直帮上级) */ private Integer superiorType; private String superiorType; /** * 核销门店可获得服务费 */ ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/vo/Price.java
@@ -41,7 +41,7 @@ /** * 获取返佣积分上级类型(1=直推上级,2=直帮上级) */ private Integer superiorType; private String superiorType; /** * 核销门店可获得服务费 */ ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/CommissionServiceImpl.java
@@ -95,8 +95,8 @@ for (OrderGood og : v) {// 累计分销金额 // 直推上级分佣金额 Integer superiorType = og.getSuperiorType(); if (superiorType == 1 && inviteUser != null){ String superiorType = og.getSuperiorType(); if (superiorType.contains("1") && inviteUser != null){ // 分佣金额 BigDecimal superiorSubcommission = og.getSuperiorSubcommission(); BigDecimal totalDistributionAmount = inviteUser.getTotalDistributionAmount(); @@ -112,7 +112,7 @@ appUserClient.editAppUserById(inviteUser); }else // 直帮上级分佣金额 if (superiorType == 2 && superiorLeader != null){ if (superiorType.contains("2") && superiorLeader != null){ // 分佣金额 BigDecimal superiorSubcommission = og.getSuperiorSubcommission(); BigDecimal totalDistributionAmount = superiorLeader.getTotalDistributionAmount(); ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java
@@ -258,7 +258,7 @@ price.setEarnSpendingPoints(goodsSeckill.getEarnSpendingPoints()); price.setSuperiorSubcommission(goodsSeckill.getSuperiorSubcommission()); price.setSuperiorRebatePoints(goodsSeckill.getSuperiorRebatePoints()); price.setSuperiorType(goodsSeckill.getSuperiorType()); price.setSuperiorType(String.valueOf(goodsSeckill.getSuperiorType())); price.setServuceShopCharges(goodsSeckill.getServuceShopCharges()); price.setServuceShopPoints(goodsSeckill.getServuceShopPoints()); price.setTechnicianPoints(goodsSeckill.getTechnicianPoints());