Commit 744c7ef1 authored by huyuchen's avatar huyuchen

huych-入离职登记增加附件和姓名身份证和手机号校验

parent ab96a8c0
......@@ -783,8 +783,6 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
if (null != errorInfo) {
return R.failed(errorInfo);
} else {
//更新附件
updateFileId(registration);
// 1.9.8: 没有来源默认是:1客户端
if(Common.isEmpty(registration.getDataSource())){
registration.setDataSource(CommonConstants.ONE_STRING);
......@@ -792,6 +790,8 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
// 1.9.8: 赋值【最新的客服名称】
registration.setCustomerUsernameNew(registration.getCustomerUsername());
baseMapper.insert(registration);
//更新附件
updateFileId(registration);
}
//企业微信消息提醒
sendMessageToWx(registration, registration.getFeedbackType());
......
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