transfer搜索问题处理
This commit is contained in:
parent
7b690aa65f
commit
11c7269ee0
@ -44,7 +44,7 @@ public class UserBankSearchUserProfileQryExe {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (UserBankWaterEvent.TRANSFER.name().equals(cmd.getSearchType())) {
|
||||
if (isTransfer(cmd)) {
|
||||
if (Objects.equals(cmd.getReqUserId(), userProfile.getId())) {
|
||||
return null;
|
||||
}
|
||||
@ -71,6 +71,9 @@ public class UserBankSearchUserProfileQryExe {
|
||||
if (freightAgent) {
|
||||
return userProfile;
|
||||
}
|
||||
if (isTransfer(cmd)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return Objects.equals(
|
||||
ResponseAssert.requiredSuccess(agentTeamClient.existsTeamOwn(userProfile.getId())),
|
||||
@ -82,4 +85,8 @@ public class UserBankSearchUserProfileQryExe {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static boolean isTransfer(UserBankSearchUserProfileCmd cmd) {
|
||||
return UserBankWaterEvent.TRANSFER.name().equals(cmd.getSearchType());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user