Commit 2b32c37b authored by fangxinjiang's avatar fangxinjiang

项目档案无岗位更新岗位fxj 2024-04-17

parent e91d6d82
......@@ -304,7 +304,6 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
.eq(TAutoPaymentDetail::getParentId,parentId)
.eq(TAutoPaymentDetail::getEmpName,excel.getEmpName())
.eq(TAutoPaymentDetail::getCertNum,excel.getCertNum())
.ne(TAutoPaymentDetail::getRepeatHandleFlag,excel.getRepeatHandleFlag())
.eq(TAutoPaymentDetail::getSocialSecurityAccount,excel.getSocialSecurityAccount()));
if (Common.isEmpty(details)){
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), "对应姓名+证件号码+社保户的数据不存在!",excel));
......@@ -313,6 +312,9 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
if (Common.isNotNull(details)){
updateList = new ArrayList<>();
for (TAutoPaymentDetail detail:details){
if (detail.getRepeatHandleFlag().equals(excel.getRepeatHandleFlag())){
continue;
}
detail.setRepeatHandleFlag(excel.getRepeatHandleFlag());
updateList.add(detail);
}
......
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