This commit is contained in:
wangw 2025-10-29 18:24:47 +08:00
parent 554ac3bf6a
commit 6709965e28
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
result.put("parentPhone", "");
ShopUser shopUser = shopUserService.getShopUserInfo(shopId, userId);
AssertUtil.isNull(shopUser, "店铺用户不存在");
UserInfo userInfo = userInfoService.getById(shopUser.getId());
UserInfo userInfo = userInfoService.getById(shopUser.getUserId());
result.put("cashOutAmount", userInfo.getDistributionAmount() == null ? 0.0 : userInfo.getDistributionAmount());
if (shopUser.getDistributionUserId() != null) {
MkDistributionUser mkDistributionUser = this.getById(shopUser.getDistributionUserId());