|
|
@@ -284,7 +284,12 @@ public class CmsVipOrderServiceImpl implements CmsVipOrderService {
|
|
|
throw BusinessRuntimeException.getInstance("订单状态异常");
|
|
|
}
|
|
|
Long userId = orderDon.getUserId();
|
|
|
- List<Long> userIdList = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
+ List<Long> userIdList = null;
|
|
|
+ try {
|
|
|
+ userIdList = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
+ } catch (Exception e) {
|
|
|
+ userIdList = List.of(userId);
|
|
|
+ }
|
|
|
//会员是否已过期
|
|
|
VipUser vipUser = vipUserMapper.selectOne(Wrappers.lambdaQuery(VipUser.class)
|
|
|
.in(VipUser::getUserId, userIdList)
|