java110
2022-06-16 5d167ea6e943dd1574e0e6ed70ff25b8d4830f61
service-fee/src/main/java/com/java110/fee/discount/impl/VacantHousingDiscountImpl.java
old mode 100644 new mode 100755
@@ -4,7 +4,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;
@@ -12,6 +12,7 @@
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
/**
 * 空置房打折规则
@@ -78,9 +79,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(month);
        //2021-03-05 根据缴费 时长来算 不应该按 至少缴费来算