java110 3 éve%!(EXTRA string=óta)
szülő
commit
dc896b24fe

+ 3 - 0
service-acct/src/main/java/com/java110/acct/bmo/account/impl/GetAccountBMOImpl.java

@@ -147,6 +147,9 @@ public class GetAccountBMOImpl implements IGetAccountBMO {
 
 
     private List<AccountDto> addAccountDto(AccountDto accountDto, OwnerDto ownerDto) {
+        if (StringUtil.isEmpty(ownerDto.getOwnerId())) {
+            return new ArrayList<>();
+        }
         //开始锁代码
         String requestId = DistributedLock.getLockUUID();
         String key = this.getClass().getSimpleName() + "AddCountDto" + ownerDto.getOwnerId();