Commit 69104ec7 by 徐高华

staffId

parent e49a74ef
......@@ -43,7 +43,7 @@ public class MemberUnionRelatedServiceImpl implements MemberUnionRelatedService
@Override
public void delMemberUnionidRelated(MemberUnionidRelatedDTO dto , String wxUserId) {
TabHaobanStaff staff = this.staffMapper.selectByUserIdAndEnterpriseId(dto.getExternalUserid() , wxUserId) ;
TabHaobanStaff staff = this.staffMapper.selectByUserIdAndEnterpriseId(dto.getWxEnterpriseId(), wxUserId) ;
String staffId = staff.getStaffId() ;
mapper.deleteByUnionidAndUserId(dto.getExternalUserid(),staffId);
}
......
......@@ -904,7 +904,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
checkQywxSettingApiService.saveFriendCallback(wxEnterpriseId, externalUserDTO, dto);
if (externalUserDTO == null) {
log.info("【新增外部联系人回调】unionIdJson=null");
log.info("【新增外部联系人回调】失败,查询好友信息失败");
return null;
}
dto.setWxEnterpriseId(wxEnterpriseId);
......
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