|
@@ -511,7 +511,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
|
GoodsVo goodsVo = iGoodsService.selectDetail(bo.getGoodsId());
|
|
|
|
|
|
if(goodsVo.getBusinessId().longValue()!=business.getId().longValue()){
|
|
|
- if(Validator.isNotEmpty(business7.getId())&&goodsVo.getBusinessId().longValue()!=business7.getId().longValue()){
|
|
|
+ if(Validator.isNotEmpty(business7)&&goodsVo.getBusinessId().longValue()!=business7.getId().longValue()){
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
@@ -523,7 +523,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
|
if(goodsVo.getBusinessId().longValue()==business.getId().longValue()){
|
|
|
studyRec.setCourseType(5);
|
|
|
}
|
|
|
- if(Validator.isNotEmpty(business7.getId())&&goodsVo.getBusinessId().longValue()==business7.getId().longValue()){
|
|
|
+ if(Validator.isNotEmpty(business7)&&goodsVo.getBusinessId().longValue()==business7.getId().longValue()){
|
|
|
studyRec.setCourseType(17);
|
|
|
}
|
|
|
studyRec.setCourseName(goodsVo.getGoodsName());
|