xiaoyong931011
2023-04-17 d0cc42cf8c1584ab120e2f1c831a162c6b454e15
src/main/java/cc/mrbird/febs/mall/service/impl/AgentServiceImpl.java
@@ -216,7 +216,7 @@
        }
        BigDecimal amountTC = new BigDecimal(1000);
        //购买套餐按照1000的基数去补贴,如5000,则补贴5次1000
        int times = Integer.parseInt(amountTCAll.divideToIntegralValue(amountTC).toString());
        int times = amountTCAll.divideToIntegralValue(amountTC).intValue();
        if(times < 1){
            return;
        }