dubblo报错修复

This commit is contained in:
张松 2025-09-28 19:26:34 +08:00
parent 06006aa431
commit 0846ae21e7
3 changed files with 10 additions and 1 deletions

View File

@ -23,4 +23,7 @@ public interface ShopUserService extends IService<ShopUser> {
ShopUser getShopUserInfo(Long shopId, long userId);
@Override
boolean updateById(ShopUser entity);
}

View File

@ -45,6 +45,11 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
return shopUser;
}
@Override
public boolean updateById(ShopUser entity) {
return super.updateById(entity);
}
@Override
public ShopUser getShopUserInfo(Long shopId, long userId) {
Long mainShopId = shopInfoService.getMainIdByShopId(shopId);

View File

@ -26,6 +26,7 @@ import com.czg.utils.AssertUtil;
import com.czg.validator.ValidatorUtil;
import com.czg.validator.group.member.MemberLevelCycleRewardGroup;
import com.mybatisflex.core.query.QueryWrapper;
import com.mybatisflex.core.update.UpdateWrapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboReference;
@ -448,7 +449,7 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
}
if (!OrderStatusEnums.UNPAID.getCode().equals(memberOrder.getStatus())) {
log.warn("会员购买支付失败会员订单状态不为待支付会员订单id{}", memberOrderId);
return false;
// return false;
}
switch (memberOrder.getCircleUnit()) {