java110
2022-02-21 46eed722cd0431aa433bea2470b23015b8d83b3e
service-fee/src/main/java/com/java110/fee/discount/impl/DiscountFeeRule.java
old mode 100644 new mode 100755
@@ -19,7 +19,7 @@
import com.java110.dto.fee.FeeDto;
import com.java110.dto.feeDiscount.ComputeDiscountDto;
import com.java110.dto.feeDiscount.FeeDiscountDto;
import com.java110.dto.feeDiscountSpec.FeeDiscountSpecDto;
import com.java110.dto.feeDiscount.FeeDiscountSpecDto;
import com.java110.fee.discount.IComputeDiscount;
import com.java110.intf.fee.IFeeInnerServiceSMO;
import org.springframework.beans.factory.annotation.Autowired;
@@ -27,6 +27,7 @@
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
/**
 * 优惠打折 规则
@@ -90,9 +91,9 @@
        feeDto.setFeeId(feeDiscountDto.getFeeId());
        List<FeeDto> feeDtos = feeInnerServiceSMOImpl.queryFees(feeDto);
        double price = computeFeeSMOImpl.getFeePrice(feeDtos.get(0));
        Map feePriceAll=computeFeeSMOImpl.getFeePrice(feeDtos.get(0));
        BigDecimal priceDec = new BigDecimal(price);
        BigDecimal priceDec = new BigDecimal(feePriceAll.get("feePrice").toString());
        BigDecimal cycleDec = new BigDecimal(feeDiscountDto.getCycles());