Commit f40752dc by jianan

客户告知书7

parent 82ad4c27
......@@ -3627,6 +3627,15 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
}
// 数据库实体
AclCustomer newerCustomer = aclCustomerDALService.findByMobileNo(newMobile);
if (newerCustomer == null) {
// 注册
RegisterRequestVO registerRequestVO = new RegisterRequestVO();
registerRequestVO.setMobileNo(newName);
registerRequestVO.setName(newMobile);
//将增员对象进行注册
RegisterResponseVO registerResp = customerService.register(registerRequestVO);
newerCustomer.setId(registerResp.getCustomerId());
}
AgPoInformed informed = new AgPoInformed();
BeanUtils.copyProperties(requestVO, informed);
informed.setCustomerId(newerCustomer.getId());
......
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