Browse Source

修改bug

wangli 4 years ago
parent
commit
754ea46048

+ 3 - 1
smart-city-platform/src/main/java/com/bz/smart_city/service/impl/pay/PayBaseAccountServiceImpl.java

@@ -217,8 +217,10 @@ public class PayBaseAccountServiceImpl implements PayBaseAccountService {
                 payBaseAccountSelectAccountnumberDtoList.get(0).setPayBaseAccountTransactionsDtoList(payTransactiondetailsDtos);
             }
             payBaseAccountSelectAccountnumberDtoList.get(0).setPayBaseAccountMeterDtoList(payBaseAccountMeterDtoList);
+            return payBaseAccountSelectAccountnumberDtoList.get(0);
+        }else{
+            return null;
         }
-        return payBaseAccountSelectAccountnumberDtoList.get(0);
     }
 
     /**