Commit 3b4293fc by 徐高华

Merge branch 'feature/xgh/2502朋友圈' into 'master'

许可转移,成员code相同控制

See merge request !2718
parents 54357b80 57318a3c
......@@ -1208,6 +1208,10 @@ public class StaffApiServiceImpl implements StaffApiService {
if (CollUtil.isEmpty(tabHaobanStaffs)){
return com.gic.api.base.commons.ServiceResponse.failure("-9999","通讯录成员不存在!",result);
}
Set<String> set = tabHaobanStaffs.stream().map(o->o.getWxOpenUseId()).collect(Collectors.toSet());
if(tabHaobanStaffs.size() != set.size()) {
return com.gic.api.base.commons.ServiceResponse.failure("-9999","存在相同code的成员转移",result);
}
WxEnterpriseDTO wxEnterpriseDTO = this.wxEnterpriseService.selectById(wxEnterpriseId);
String openCorpid = wxEnterpriseDTO.getOpenCorpid();
String serviceCorpid = config.getCorpid();
......
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