Commit 6b863995 by 徐高华

Merge branch 'developer' into 'master'

Developer

See merge request !346
parents 8c52e79b 8ba07a0d
......@@ -332,7 +332,7 @@ public class ExternalClerkRelatedServiceImpl implements ExternalClerkRelatedServ
continue;
}
int type = 0 ;
if(wxEnterpriseId.endsWith("#")) {
if(wxEnterpriseId.endsWith("_")) {
wxEnterpriseId = wxEnterpriseId.substring(0,wxEnterpriseId.length()-1) ;
type = 1 ;
}
......
......@@ -160,7 +160,7 @@ public class StaffDepartmentRelatedServiceImpl implements StaffDepartmentRelated
if (null != secretSetting && StringUtils.isNotBlank(secretSetting.getSecretVal())) {
UserDTO user = qywxUserApiService.getSelfWorkWxUser(qwDTO.getDkCorpid(), secretSetting.getSecretVal(), wxUserId);
logger.info("成员详情(代开)={}",JSON.toJSONString(user)) ;
if(null != user.getDepartment()) {
if(null != user && null != user.getDepartment()) {
this.staffDepartChange(staff, wxEnterpriseId, user.getDepartment(),false); ;
}
}
......
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