|
@@ -19,6 +19,7 @@ import com.zhongzheng.modules.goods.domain.Goods;
|
|
|
import com.zhongzheng.modules.goods.service.IGoodsService;
|
|
|
import com.zhongzheng.modules.goods.vo.GoodsVo;
|
|
|
import com.zhongzheng.modules.grade.domain.ClassGradeUser;
|
|
|
+import com.zhongzheng.modules.grade.service.IClassGradeService;
|
|
|
import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
import com.zhongzheng.modules.order.bo.*;
|
|
|
import com.zhongzheng.modules.order.domain.Order;
|
|
@@ -90,6 +91,8 @@ public class OrderGoodsRefundServiceImpl extends ServiceImpl<OrderGoodsRefundMap
|
|
|
private IOrderShareMoneyService iOrderShareMoneyService;
|
|
|
@Autowired
|
|
|
private IActivityOrderService iActivityOrderService;
|
|
|
+ @Autowired
|
|
|
+ private IClassGradeService iClassGradeService;
|
|
|
@Value("${oldStudySys.shareCanclePath}")
|
|
|
private String SHARE_CANCLE_PATH;
|
|
|
|
|
@@ -435,6 +438,9 @@ public class OrderGoodsRefundServiceImpl extends ServiceImpl<OrderGoodsRefundMap
|
|
|
lqw.eq(ClassGradeUser::getGradeId, gradeId);
|
|
|
lqw.eq( ClassGradeUser::getUserId, userId);
|
|
|
iClassGradeUserService.remove(lqw);
|
|
|
+ //班级人数变动通知旧系统
|
|
|
+ Goods goods = iGoodsService.getById(goodsId);
|
|
|
+ iClassGradeService.gradeChangeEjjjPeople(goods.getBusinessId(),gradeId);
|
|
|
//清除课程所有历史
|
|
|
iUserStudyRecordService.delUserCourseHistory(userId,goodsId,gradeId,orderGoodsId);
|
|
|
}
|