Commit 9db81282 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent f41f2495
......@@ -1177,11 +1177,11 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
return RegistConstants.PHONE_FORMAT_ERROR;
}
//姓名、身份证+手机号真实性校验
// R<Boolean> checkRes = checkDaprUtil.checkIdCardAndMobile(registration.getEmployeeName(),
// registration.getEmpIdcard(),registration.getEmpPhone());
// if (Common.isEmpty(checkRes) || checkRes.getCode() != CommonConstants.SUCCESS){
// return checkRes.getMsg();
// }
R<Boolean> checkRes = checkDaprUtil.checkIdCardAndMobile(registration.getEmployeeName(),
registration.getEmpIdcard(),registration.getEmpPhone());
if (Common.isEmpty(checkRes) || checkRes.getCode() != CommonConstants.SUCCESS){
return checkRes.getMsg();
}
EmployeeRegistration exit = baseMapper.selectOne(Wrappers.<EmployeeRegistration>query().lambda()
.eq(EmployeeRegistration::getEmpIdcard, registration.getEmpIdcard())
.eq(EmployeeRegistration::getDeptNo, registration.getDeptNo())
......
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