feat:feature-REQ/2129 修改ouId字段
This commit is contained in:
parent
b142cb61c4
commit
121b0ed19b
@ -60,10 +60,10 @@ public interface AccountRegisterService extends IService<AccountRegister> {
|
||||
|
||||
/**
|
||||
* appType = AppTypeEnum.CMP时,因为网易云信无法对同一个账号做企业隔离,只能一个企业一个账号,
|
||||
* 所以需要根据organizationalUnitId获取账号
|
||||
* 所以需要根据ouId获取账号
|
||||
*/
|
||||
@CriteriaField(field = "organizationalUnitId", operator = Operator.EQ)
|
||||
private Long organizationalUnitId;
|
||||
@CriteriaField(field = "ouId", operator = Operator.EQ)
|
||||
private Long ouId;
|
||||
|
||||
@CriteriaField(field = "accountType", operator = Operator.EQ)
|
||||
private String accountType;
|
||||
|
||||
@ -346,7 +346,7 @@ public class AccountService {
|
||||
.accountId(accountAbsentQuery.getPersonId())
|
||||
.build();
|
||||
if (appTypeEnum == AppTypeEnum.CMP) {
|
||||
listAccountRegisterParam.setOrganizationalUnitId(accountAbsentQuery.getOuId());
|
||||
listAccountRegisterParam.setOuId(accountAbsentQuery.getOuId());
|
||||
}
|
||||
List<AccountRegisterService.AccountRegisterDTO> accountRegisters = accountRegisterService.list(listAccountRegisterParam);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user