java110
2023-05-17 402d54b051a96b61a5bab774437e98705b64708d
service-fee/src/main/java/com/java110/fee/feeMonth/IPayFeeMonthHelp.java
@@ -2,10 +2,12 @@
import com.java110.dto.fee.FeeDetailDto;
import com.java110.dto.fee.FeeDto;
import com.java110.dto.fee.MonthFeeDetailDto;
import com.java110.dto.payFeeDetailMonth.PayFeeMonthOwnerDto;
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface IPayFeeMonthHelp {
@@ -14,7 +16,7 @@
    Double getMonthFeePrice(FeeDto feeDto);
    Double getReceivableAmount(List<FeeDetailDto> feeDetailDtos, Double feePrice, Date curDate, FeeDto feeDto);
    Double getReceivableAmount(List<FeeDetailDto> feeDetailDtos,Map<String, MonthFeeDetailDto> monthFeeDetailDtos, Double feePrice, Date curDate, FeeDto feeDto);
    /**
     * 计算实收
@@ -22,7 +24,7 @@
     * @param feePrice
     * @return
     */
    Double getReceivedAmount(List<FeeDetailDto> feeDetailDtos, Double feePrice, Date curDate, FeeDto feeDto);
    Double getReceivedAmount(List<FeeDetailDto> feeDetailDtos,Map<String ,MonthFeeDetailDto> monthFeeDetailDtos, Double feePrice, Date curDate, FeeDto feeDto);
    Double getDiscountAmount(Double feePrice, double receivedAmount, Date curDate, FeeDto feeDto);
@@ -41,4 +43,11 @@
     * @return
     */
    String getFeeFeeTime(List<FeeDetailDto> feeDetailDtos, String detailId);
    /**
     * 缴费记录转换为月缴费记录,金额 除以 缴费时间段内所包含的月个数
     * @param feeDetailDtos
     * @return
     */
    Map<String ,MonthFeeDetailDto> analysisMonthFeeDetail(List<FeeDetailDto> feeDetailDtos);
}