Commit 16b98bd8 authored by fangxinjiang's avatar fangxinjiang

银行卡校验

parent 8527ab5a
...@@ -199,6 +199,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T ...@@ -199,6 +199,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
insert.setEmpIdcard(emp.getEmpIdcard()); insert.setEmpIdcard(emp.getEmpIdcard());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
this.save(insert); this.save(insert);
} }
...@@ -279,6 +280,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T ...@@ -279,6 +280,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
if (tEmpBadRecord.getLimitStart() >= 0 && tEmpBadRecord.getLimitEnd() > 0){ if (tEmpBadRecord.getLimitStart() >= 0 && tEmpBadRecord.getLimitEnd() > 0){
wrapper.last(" limit "+ tEmpBadRecord.getLimitStart() +","+ tEmpBadRecord.getLimitEnd()); wrapper.last(" limit "+ tEmpBadRecord.getLimitStart() +","+ tEmpBadRecord.getLimitEnd());
} }
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
......
...@@ -167,6 +167,7 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf ...@@ -167,6 +167,7 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)){
wrapper.in(TEmpDisabilityInfo::getId,idList); wrapper.in(TEmpDisabilityInfo::getId,idList);
} }
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
...@@ -273,6 +274,7 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf ...@@ -273,6 +274,7 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf
insert.setDeleteFlag(CommonConstants.ZERO_STRING); insert.setDeleteFlag(CommonConstants.ZERO_STRING);
insert.setEmpCode(emp.getEmpCode()); insert.setEmpCode(emp.getEmpCode());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
this.save(insert); this.save(insert);
} }
} }
...@@ -258,6 +258,7 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T ...@@ -258,6 +258,7 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T
insert.setDeleteFlag(CommonConstants.ZERO_STRING); insert.setDeleteFlag(CommonConstants.ZERO_STRING);
insert.setEmpCode(emp.getEmpCode()); insert.setEmpCode(emp.getEmpCode());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
// 更新档案学历信息 // 更新档案学历信息
updateEducationOfEmp(insert); updateEducationOfEmp(insert);
this.save(insert); this.save(insert);
...@@ -308,6 +309,7 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T ...@@ -308,6 +309,7 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)){
wrapper.in(TEmpEducation::getId,idList); wrapper.in(TEmpEducation::getId,idList);
} }
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
......
...@@ -98,6 +98,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam ...@@ -98,6 +98,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam
continue; continue;
} }
excel.setEmpName(emp.getEmpName()); excel.setEmpName(emp.getEmpName());
exist = baseMapper.selectOne(Wrappers.<TEmpFamily>query().lambda() exist = baseMapper.selectOne(Wrappers.<TEmpFamily>query().lambda()
.eq(TEmpFamily::getEmpIdcard,excel.getEmpIdcard()) .eq(TEmpFamily::getEmpIdcard,excel.getEmpIdcard())
.eq(TEmpFamily::getFamilyName,excel.getFamilyName()) .eq(TEmpFamily::getFamilyName,excel.getFamilyName())
...@@ -173,6 +174,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam ...@@ -173,6 +174,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)){
wrapper.in(TEmpFamily::getId,idList); wrapper.in(TEmpFamily::getId,idList);
} }
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
...@@ -262,6 +264,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam ...@@ -262,6 +264,7 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam
insert.setDeleteFlag(CommonConstants.ZERO_STRING); insert.setDeleteFlag(CommonConstants.ZERO_STRING);
insert.setEmpCode(emp.getEmpCode()); insert.setEmpCode(emp.getEmpCode());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
this.save(insert); this.save(insert);
} }
} }
...@@ -147,6 +147,7 @@ public class TEmpProfessionalQualificationServiceImpl extends ServiceImpl<TEmpPr ...@@ -147,6 +147,7 @@ public class TEmpProfessionalQualificationServiceImpl extends ServiceImpl<TEmpPr
insert.setDeleteFlag(CommonConstants.ZERO_STRING); insert.setDeleteFlag(CommonConstants.ZERO_STRING);
insert.setEmpCode(emp.getEmpCode()); insert.setEmpCode(emp.getEmpCode());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
this.save(insert); this.save(insert);
} }
private ErrorMessage checkRes(List<TEmpProfessionalQualification> list, TEmployeeInfo emp, EmpCertificateExcelVO excel) { private ErrorMessage checkRes(List<TEmpProfessionalQualification> list, TEmployeeInfo emp, EmpCertificateExcelVO excel) {
......
...@@ -180,6 +180,7 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM ...@@ -180,6 +180,7 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM
insert.setDeleteFlag(CommonConstants.ZERO_STRING); insert.setDeleteFlag(CommonConstants.ZERO_STRING);
insert.setEmpCode(emp.getEmpCode()); insert.setEmpCode(emp.getEmpCode());
insert.setEmpId(emp.getId()); insert.setEmpId(emp.getId());
insert.setSettleDomain(emp.getDeptId());
this.save(insert); this.save(insert);
} }
...@@ -197,6 +198,7 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM ...@@ -197,6 +198,7 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)){
wrapper.in(TEmpWorkRecording::getId,idList); wrapper.in(TEmpWorkRecording::getId,idList);
} }
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
......
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