Commit 18520d42 authored by chenzhao's avatar chenzhao

代扣优化项 问题处理

parent e3d39912
......@@ -725,7 +725,7 @@ public class IcbcWithholdServiceImpl extends BaseService<IcbcWithholdDto,IcbcWit
public void exportData(HttpServletResponse response, IcbcWithholdDto icbcWithhold ){
String fileName = "款记录明细";
String fileName = "款记录明细";
List<HygfIcbcWithholdRecordExportDTO> datas = new ArrayList<>();
IcbcWithholdRecordDto dto = new IcbcWithholdRecordDto();
if (StringUtils.isNotEmpty(icbcWithhold.getBatchNo())){
......@@ -738,6 +738,9 @@ public class IcbcWithholdServiceImpl extends BaseService<IcbcWithholdDto,IcbcWit
if (StringUtils.isNotEmpty(icbcWithhold.getPaymentEndTime())){
dto.setPaymentEndTime(icbcWithhold.getPaymentEndTime());
}
if (StringUtils.isNotEmpty(icbcWithhold.getWithholdStatus())){
dto.setWithholdStatus(icbcWithhold.getWithholdStatus());
}
if (StringUtils.isNotEmpty(icbcWithhold.getIcbcId())){
dto.setAmosUserId(icbcWithhold.getIcbcId());
dto.setShow("1");
......@@ -754,7 +757,7 @@ public class IcbcWithholdServiceImpl extends BaseService<IcbcWithholdDto,IcbcWit
}
}
if (CollectionUtil.isNotEmpty(datas)){
ExcelUtil.createTemplate(response,fileName,"款记录明细",datas,HygfIcbcWithholdRecordExportDTO.class,null,false);
ExcelUtil.createTemplate(response,fileName,"款记录明细",datas,HygfIcbcWithholdRecordExportDTO.class,null,false);
}
}
......
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