Commit a0db9fbe by qwmqiuwenmin

fix

parent d0a35e85
......@@ -206,6 +206,18 @@ public class MessageApiServiceImpl implements MessageApiService {
staff.setWxUserId(qywxCallBackDTO.getNewUserid());
staff.setStaffId(oldStaff.getStaffId());
log.info("【微信回调更新】staff={}",JSON.toJSONString(staff));
if(StringUtils.isBlank(staff.getPhoneNumber())){
staff.setPhoneNumber(oldStaff.getPhoneNumber());
}
if(StringUtils.isBlank(staff.getNationCode())){
staff.setNationCode(oldStaff.getNationCode());
}
if(StringUtils.isBlank(staff.getStaffName())){
staff.setNationCode(oldStaff.getStaffName());
}
if(StringUtils.isBlank(staff.getPostion())){
staff.setNationCode(oldStaff.getPostion());
}
// this.staffService.updateByPrimaryKey(staff);
// this.staffDepartmentRelatedService.delByUserid(qywxCallBackDTO.getUserid());
// this.addUserDepart(qywxCallBackDTO, oldStaff.getStaffId(), enterprise.getWxEnterpriseId());
......
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