Commit 61cfa0d6 by 徐高华

Merge branch 'master_xgh_bug_11月' into 'master_xgh_我的客户迭代'

成员id处理

See merge request !414
parents 0481d078 10b76999
......@@ -614,9 +614,11 @@ public class StaffApiServiceImpl implements StaffApiService {
logger.info("没有配置secret:{}", qwDTO.getWxEnterpriseId());
return null;
}
String wxUserId = relationDTO.getQwUserId();
String staffId = relationDTO.getStaffId() ;
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(staffId) ;
String wxUserId = staff.getWxUserId() ;
if (qwDTO.needOpenUserIdDk()) {
wxUserId = relationDTO.getOpenUserId();
wxUserId = staff.getWxOpenUseId() ;
}
UserDTO user = qywxUserApiService.getSelfWorkWxUser(qwDTO.getDkCorpid(), secretSetting.getSecretVal(), wxUserId);
if (user != null) {
......
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