diff --git a/yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java b/yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java index 80c84ed2cfbcff71c2dbaccb11e9552f496d84d8..c0d7c2869fdea2e335c14e29a44b6640f040186f 100644 --- a/yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java +++ b/yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java @@ -463,7 +463,9 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi smsEmployee.setBizId(res.getBizId()); smsEmployee.setMessage(res.getMessage()); employeeService.updateById(smsEmployee); - this.updateById(updatePre); + if (Common.isNotNull(updatePre)) { + this.updateById(updatePre); + } return R.ok(); } else { smsEmployee.setMessage("çŸä¿¡å‘é€å¤±è´¥");