userID
This commit is contained in:
parent
554ac3bf6a
commit
6709965e28
|
|
@ -164,7 +164,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||||
result.put("parentPhone", "");
|
result.put("parentPhone", "");
|
||||||
ShopUser shopUser = shopUserService.getShopUserInfo(shopId, userId);
|
ShopUser shopUser = shopUserService.getShopUserInfo(shopId, userId);
|
||||||
AssertUtil.isNull(shopUser, "店铺用户不存在");
|
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());
|
result.put("cashOutAmount", userInfo.getDistributionAmount() == null ? 0.0 : userInfo.getDistributionAmount());
|
||||||
if (shopUser.getDistributionUserId() != null) {
|
if (shopUser.getDistributionUserId() != null) {
|
||||||
MkDistributionUser mkDistributionUser = this.getById(shopUser.getDistributionUserId());
|
MkDistributionUser mkDistributionUser = this.getById(shopUser.getDistributionUserId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue