上级
This commit is contained in:
@@ -286,7 +286,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
|||||||
if ("自主申请".equals(parent.getOpeningMethod()) && parent.getStatus() == 0 && mkDistributionConfig != null) {
|
if ("自主申请".equals(parent.getOpeningMethod()) && parent.getStatus() == 0 && mkDistributionConfig != null) {
|
||||||
if (newDistributionUser.getInviteCount() >= mkDistributionConfig.getInviteCount()) {
|
if (newDistributionUser.getInviteCount() >= mkDistributionConfig.getInviteCount()) {
|
||||||
ShopUser parentShopUser1 = new ShopUser();
|
ShopUser parentShopUser1 = new ShopUser();
|
||||||
parentShopUser1.setId(shopUser.getId());
|
parentShopUser1.setId(parentShopUser.getId());
|
||||||
parentShopUser1.upDistributionShop(param.getShopId(), 1);
|
parentShopUser1.upDistributionShop(param.getShopId(), 1);
|
||||||
shopUserService.updateById(parentShopUser1);
|
shopUserService.updateById(parentShopUser1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user