|
@@ -64,6 +64,7 @@ import com.zhongzheng.modules.grade.service.IUserPeriodStatusService;
|
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeVo;
|
|
|
import com.zhongzheng.modules.grade.vo.UserPeriodVo;
|
|
|
import com.zhongzheng.modules.order.bo.SpecialQuestionBo;
|
|
|
+import com.zhongzheng.modules.order.domain.OrderGoods;
|
|
|
import com.zhongzheng.modules.order.vo.SpecialQuestionVo;
|
|
|
import com.zhongzheng.modules.order.service.IOrderGoodsService;
|
|
|
import com.zhongzheng.modules.system.domain.SysTenant;
|
|
@@ -151,6 +152,8 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
@Autowired
|
|
|
private IGoodsService iGoodsService;
|
|
|
@Autowired
|
|
|
+ private IOrderGoodsService iOrderGoodsService;
|
|
|
+ @Autowired
|
|
|
private IGoodsQuestionRelService iGoodsQuestionRelService;
|
|
|
@Autowired
|
|
|
private IQuestionMerchantService iQuestionMerchantService;
|
|
@@ -1009,9 +1012,13 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
goodsUserVo.setPeriodStatus(classGradeVo.getPeriodStatus());
|
|
|
goodsUserVo.setSignId(classGradeVo.getId());
|
|
|
goodsUserVo.setOfficialStatus(classGradeVo.getOfficialStatus());
|
|
|
- goodsUserVo.setClassStatus(classGradeVo.getClassStatus());
|
|
|
- goodsUserVo.setClassStartTime(classGradeVo.getClassStartTime());
|
|
|
- goodsUserVo.setClassEndTime(classGradeVo.getClassEndTime());
|
|
|
+
|
|
|
+ String businessName = iGoodsService.getGoodsBusinessName(goodsUserVo.getGoodsId());
|
|
|
+ if (businessName.contains("继续教育")){
|
|
|
+ goodsUserVo.setClassStatus(classGradeVo.getClassStatus());
|
|
|
+ goodsUserVo.setClassStartTime(classGradeVo.getClassStartTime());
|
|
|
+ goodsUserVo.setClassEndTime(classGradeVo.getClassEndTime());
|
|
|
+ }
|
|
|
}
|
|
|
return goodsUserVos;
|
|
|
}
|