ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
@@ -585,6 +585,8 @@ if (!CollectionUtils.isEmpty(orderList)){ BigDecimal paymentAmount = orderList.stream().map(Order::getPaymentAmount).reduce(BigDecimal.ZERO, BigDecimal::add); byId.setShopAmount(paymentAmount); }else { byId.setShopAmount(BigDecimal.ZERO); } return R.ok(byId); }