Commit 62015747 authored by fangxinjiang's avatar fangxinjiang

基础档案新增字段及必填调整

parent 276af6ba
......@@ -282,8 +282,8 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
private void importTAutoPaymentDetail(List<TAutoPaymentDetailVo> excelVOList, List<ErrorMessage> errorMessageList,String parentId) {
// 执行数据插入操作 组装
TAutoPaymentDetailVo excel;
List<TAutoPaymentDetail> details;
List<TAutoPaymentDetail> updateList;
List<TAutoPaymentDetail> details = null;
List<TAutoPaymentDetail> updateList =null;
TAutoPaymentInfo paymentInfo = paymentInfoMapper.selectById(parentId);
for (int i = 0; i < excelVOList.size(); i++) {
excel = excelVOList.get(i);
......@@ -324,6 +324,13 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
}
}
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), CommonConstants.SAVE_SUCCESS,CommonConstants.GREEN,excel));
//清空数据
if (Common.isNotNull(updateList)){
updateList.clear();
}
if (Common.isNotNull(details)){
details.clear();
}
}
}
......
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