dubblo报错修复
This commit is contained in:
parent
06006aa431
commit
0846ae21e7
|
|
@ -23,4 +23,7 @@ public interface ShopUserService extends IService<ShopUser> {
|
|||
|
||||
|
||||
ShopUser getShopUserInfo(Long shopId, long userId);
|
||||
|
||||
@Override
|
||||
boolean updateById(ShopUser entity);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue