Commit a7b08fe1 by qwmqiuwenmin

fix

parent 1490974d
......@@ -244,7 +244,9 @@ public class MessageApiServiceImpl implements MessageApiService {
staff.setActiveFlag(1);
}
if(qywxCallBackDTO.getChangeType().equals(WxEditType.ADDUSER.getCode())){
staff.setActiveFlag(0);
if(staff.getActiveFlag() == null){
staff.setActiveFlag(0);
}
this.addUser(qywxCallBackDTO, staff);
} else if(qywxCallBackDTO.getChangeType().equals(WxEditType.UPDATEUSER.getCode())){
TabHaobanStaff oldStaff = this.staffService.selectByUserIdAndEnterpriseId(qywxCallBackDTO.getUserid(),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