催收列表里面的还款记录细节修改

master
river 4 years ago
parent f44e278b10
commit e9ad590062
  1. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/MoreOverdueDetailResponse.java
  2. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/OverdueDetailResponse.java
  3. 7
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlCollectionServiceImpl.java

@ -46,7 +46,7 @@ public class MoreOverdueDetailResponse implements Serializable {
private Integer numberOfCollection; private Integer numberOfCollection;
@ApiModelProperty("还款记录") @ApiModelProperty("还款记录")
private List<AlRepaymentEntry> alRepaymentEntryList; private List<AlRepaymentEntryListRes> alRepaymentEntryList;
@ApiModelProperty("催收方式") @ApiModelProperty("催收方式")
private Integer collectionMethod; private Integer collectionMethod;

@ -46,5 +46,5 @@ public class OverdueDetailResponse implements Serializable {
private Integer numberOfCollection; private Integer numberOfCollection;
@ApiModelProperty("还款记录") @ApiModelProperty("还款记录")
private List<AlRepaymentEntry> alRepaymentEntryList; private List<AlRepaymentEntryListRes> alRepaymentEntryList;
} }

@ -12,10 +12,7 @@ import com.daqing.financial.guarantee.mapper.AlCollectionMapper;
import com.daqing.financial.guarantee.mapper.AlRepaymentEntryMapper; import com.daqing.financial.guarantee.mapper.AlRepaymentEntryMapper;
import com.daqing.financial.guarantee.model.request.AlCollectionListRequest; import com.daqing.financial.guarantee.model.request.AlCollectionListRequest;
import com.daqing.financial.guarantee.model.request.AlCollectionRequest; import com.daqing.financial.guarantee.model.request.AlCollectionRequest;
import com.daqing.financial.guarantee.model.response.AlCollectionListResponse; import com.daqing.financial.guarantee.model.response.*;
import com.daqing.financial.guarantee.model.response.AlCollectionResponse;
import com.daqing.financial.guarantee.model.response.MoreOverdueDetailResponse;
import com.daqing.financial.guarantee.model.response.OverdueDetailResponse;
import com.daqing.financial.guarantee.service.IAlCollectionService; import com.daqing.financial.guarantee.service.IAlCollectionService;
import com.daqing.framework.domain.crms.response.CrmsCode; import com.daqing.framework.domain.crms.response.CrmsCode;
import com.daqing.framework.domain.guarantee.AlCollection; import com.daqing.framework.domain.guarantee.AlCollection;
@ -146,7 +143,7 @@ public class AlCollectionServiceImpl extends ServiceImpl<AlCollectionMapper, AlC
overdueDetailResponse.setOtherExpenses((BigDecimal) map.get("otherExpenses")); overdueDetailResponse.setOtherExpenses((BigDecimal) map.get("otherExpenses"));
overdueDetailResponse.setOverduePeriods((Integer) map.get("overduePeriods")); overdueDetailResponse.setOverduePeriods((Integer) map.get("overduePeriods"));
// 还款记录 // 还款记录
IPage<AlRepaymentEntry> iPage = alRepaymentEntryMapper.pageByCondition(new Page(), null, null, insuranceId); IPage<AlRepaymentEntryListRes> iPage = alRepaymentEntryMapper.pageByCondition(new Page(), null, null, insuranceId);
overdueDetailResponse.setAlRepaymentEntryList(iPage.getRecords()); overdueDetailResponse.setAlRepaymentEntryList(iPage.getRecords());
return overdueDetailResponse; return overdueDetailResponse;
} }

Loading…
Cancel
Save