This commit is contained in:
2025-11-06 14:35:37 +08:00
parent 01bfff0f25
commit 6c175343ee

View File

@@ -286,7 +286,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
if ("自主申请".equals(parent.getOpeningMethod()) && parent.getStatus() == 0 && mkDistributionConfig != null) {
if (newDistributionUser.getInviteCount() >= mkDistributionConfig.getInviteCount()) {
ShopUser parentShopUser1 = new ShopUser();
parentShopUser1.setId(shopUser.getId());
parentShopUser1.setId(parentShopUser.getId());
parentShopUser1.upDistributionShop(param.getShopId(), 1);
shopUserService.updateById(parentShopUser1);
}