Commit 079670c4 authored by chenzhao's avatar chenzhao

代扣优化项 问题处理

parent bfdc4889
......@@ -81,6 +81,8 @@ public class IcbcWithholdDto extends BaseDto {
private String paymentStartTime;
@ApiModelProperty(value = "缴费结束时间")
private String paymentEndTime;
@ApiModelProperty(value = "导出用 姓名")
private String custName;
/**
* 失败原因
......
......@@ -545,6 +545,7 @@ public class IcbcWithholdServiceImpl extends BaseService<IcbcWithholdDto,IcbcWit
if (CollectionUtil.isNotEmpty(successFilesContentAsJson)){
LambdaUpdateWrapper<IcbcWithhold> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.in(IcbcWithhold::getBatchNo,successFilesContentAsJson);
updateWrapper.isNotNull(IcbcWithhold::getWithholdStatus);
updateWrapper.set(IcbcWithhold::getUploadStatus,UploadStatusEnum.成功.getName());
updateWrapper.set(IcbcWithhold::getWithholdStatus,UploadStatusEnum.代扣处理中.getName());
this.getBaseMapper().update(null,updateWrapper);
......@@ -735,6 +736,9 @@ public class IcbcWithholdServiceImpl extends BaseService<IcbcWithholdDto,IcbcWit
if (StringUtils.isNotEmpty(icbcWithhold.getPaymentStartTime())){
dto.setPaymentStartTime(icbcWithhold.getPaymentStartTime());
}
if (StringUtils.isNotEmpty(icbcWithhold.getCustName())){
fileName = icbcWithhold.getCustName() +"-扣款记录明细";
}
if (StringUtils.isNotEmpty(icbcWithhold.getPaymentEndTime())){
dto.setPaymentEndTime(icbcWithhold.getPaymentEndTime());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment