|
@@ -1,6 +1,7 @@
|
|
|
package com.smppw.modaq.domain.dto.report;
|
|
|
|
|
|
import com.smppw.modaq.domain.entity.report.ReportFundTransactionDO;
|
|
|
+import com.smppw.modaq.infrastructure.util.DateUtil;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
|
|
@@ -248,8 +249,8 @@ public class ReportFundTransactionDTO extends BaseReportDTO<ReportFundTransactio
|
|
|
entity.setTransactionType(transactionType);
|
|
|
entity.setBusinessReason(businessReason);
|
|
|
entity.setStatus(status);
|
|
|
- entity.setHoldingDate(this.toDate(holdingDate));
|
|
|
- entity.setApplyDate(this.toDate(applyDate));
|
|
|
+ entity.setHoldingDate(DateUtil.toDate(holdingDate));
|
|
|
+ entity.setApplyDate(DateUtil.toDate(applyDate));
|
|
|
entity.setApplyAmount(this.toBigDecimal(applyAmount));
|
|
|
entity.setApplyShare(this.toBigDecimal(applyShare));
|
|
|
entity.setAmount(this.toBigDecimal(amount, BigDecimal.ZERO));
|
|
@@ -265,7 +266,7 @@ public class ReportFundTransactionDTO extends BaseReportDTO<ReportFundTransactio
|
|
|
entity.setLargeRedemptionType(largeRedemptionType);
|
|
|
entity.setRewardMark(rewardMark);
|
|
|
entity.setHoldingDays(holdingDays);
|
|
|
- entity.setShareRegistryDate(this.toDate(shareRegistryDate));
|
|
|
+ entity.setShareRegistryDate(DateUtil.toDate(shareRegistryDate));
|
|
|
// --- 以下是费用
|
|
|
entity.setFee(this.toBigDecimal(fee));
|
|
|
entity.setInterest(this.toBigDecimal(interest));
|
|
@@ -277,8 +278,8 @@ public class ReportFundTransactionDTO extends BaseReportDTO<ReportFundTransactio
|
|
|
entity.setPerformanceFeeDiscounts(this.toBigDecimal(performanceFeeDiscounts));
|
|
|
// --- 以下是分红
|
|
|
entity.setDividendType(dividendType);
|
|
|
- entity.setDividendRegistryDate(this.toDate(dividendRegistryDate));
|
|
|
- entity.setDividendPaymentDate(this.toDate(dividendPaymentDate));
|
|
|
+ entity.setDividendRegistryDate(DateUtil.toDate(dividendRegistryDate));
|
|
|
+ entity.setDividendPaymentDate(DateUtil.toDate(dividendPaymentDate));
|
|
|
entity.setBaseShareDividend(this.toBigDecimal(baseShareDividend));
|
|
|
entity.setDividendMode(dividendMode);
|
|
|
entity.setUnitDividend(this.toBigDecimal(unitDividend));
|