|
@@ -57,6 +57,10 @@ public class CmsAccountController {
|
|
|
|
|
|
|
|
if(userId != null || StringUtils.isNotBlank(nickName) || StringUtils.isNotBlank(submitAccount)){
|
|
if(userId != null || StringUtils.isNotBlank(nickName) || StringUtils.isNotBlank(submitAccount)){
|
|
|
List<Long> accountIds = homeGroupMapper.getAccountIdsByUserIdOrNickNameOrSubmitAccount(userId, nickName ,submitAccount);
|
|
List<Long> accountIds = homeGroupMapper.getAccountIdsByUserIdOrNickNameOrSubmitAccount(userId, nickName ,submitAccount);
|
|
|
|
|
+ if(accountIds.isEmpty()){
|
|
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(new SearchResult<>());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
mapBuilder.field(AccountView::getId, accountIds).op(Operator.InList);
|
|
mapBuilder.field(AccountView::getId, accountIds).op(Operator.InList);
|
|
|
}
|
|
}
|
|
|
|
|
|