|
@@ -243,6 +243,12 @@ public class OrderGoodsRefundServiceImpl extends ServiceImpl<OrderGoodsRefundMap
|
|
if(userSeeTime.longValue()>=(30*60)){ //超30分钟不满足退款
|
|
if(userSeeTime.longValue()>=(30*60)){ //超30分钟不满足退款
|
|
throw new CustomException("不满足退款");
|
|
throw new CustomException("不满足退款");
|
|
}
|
|
}
|
|
|
|
+ //判断是否已标记
|
|
|
|
+ ClassGradeUser classGradeUser = iClassGradeUserService.getOne(new LambdaQueryWrapper<ClassGradeUser>().eq(ClassGradeUser::getGradeId,orderGoods.getGradeId())
|
|
|
|
+ .eq(ClassGradeUser::getUserId,order.getUserId()));
|
|
|
|
+ if(Validator.isNotEmpty(classGradeUser)&&Validator.isNotEmpty(classGradeUser.getLearnStatus())&&classGradeUser.getLearnStatus()==1){
|
|
|
|
+ throw new CustomException("已标记开通不满足退款");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if(goods.getGoodsType()==2){
|
|
if(goods.getGoodsType()==2){
|
|
//题库商品
|
|
//题库商品
|