Commit 9564aa6b by qwmqiuwenmin

fix

parent 997846bc
......@@ -197,6 +197,7 @@ public class MessageApiServiceImpl implements MessageApiService {
if(oldStaff != null){
staff.setWxUserId(qywxCallBackDTO.getNewUserid());
staff.setStaffId(oldStaff.getStaffId());
log.info("【微信回调更新】staff={}",JSON.toJSONString(staff));
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