|
@@ -23,10 +23,7 @@ import com.zhongzheng.modules.bank.mapper.QuestionMapper;
|
|
import com.zhongzheng.modules.bank.service.*;
|
|
import com.zhongzheng.modules.bank.service.*;
|
|
import com.zhongzheng.modules.base.domain.*;
|
|
import com.zhongzheng.modules.base.domain.*;
|
|
import com.zhongzheng.modules.base.service.*;
|
|
import com.zhongzheng.modules.base.service.*;
|
|
-import com.zhongzheng.modules.course.bo.CourseMenuAddBo;
|
|
|
|
-import com.zhongzheng.modules.course.bo.CourseMenuListAddBo;
|
|
|
|
-import com.zhongzheng.modules.course.bo.CourseMenuQueryBo;
|
|
|
|
-import com.zhongzheng.modules.course.bo.CourseQueryBo;
|
|
|
|
|
|
+import com.zhongzheng.modules.course.bo.*;
|
|
import com.zhongzheng.modules.course.domain.*;
|
|
import com.zhongzheng.modules.course.domain.*;
|
|
import com.zhongzheng.modules.course.mapper.CourseMapper;
|
|
import com.zhongzheng.modules.course.mapper.CourseMapper;
|
|
import com.zhongzheng.modules.course.service.*;
|
|
import com.zhongzheng.modules.course.service.*;
|
|
@@ -104,6 +101,8 @@ import static java.math.RoundingMode.HALF_UP;
|
|
@Service
|
|
@Service
|
|
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements IGoodsService {
|
|
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements IGoodsService {
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private ICourseBusinessService iCourseBusinessService;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private IGoodsCourseService iGoodsCourseService;
|
|
private IGoodsCourseService iGoodsCourseService;
|
|
@@ -167,8 +166,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
private ICourseSectionService iCourseSectionService;
|
|
private ICourseSectionService iCourseSectionService;
|
|
@Autowired
|
|
@Autowired
|
|
private ICourseSectionBusinessService iCourseSectionBusinessService;
|
|
private ICourseSectionBusinessService iCourseSectionBusinessService;
|
|
- @Autowired
|
|
|
|
- private ICourseBusinessService iCourseBusinessService;
|
|
|
|
|
|
+
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private ICourseSubjectService iCourseSubjectService;
|
|
private ICourseSubjectService iCourseSubjectService;
|
|
@@ -880,6 +878,15 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
if (Validator.isNotEmpty(classGradeVo)) {
|
|
if (Validator.isNotEmpty(classGradeVo)) {
|
|
goodsVo.setGradeId(classGradeVo.getGradeId());
|
|
goodsVo.setGradeId(classGradeVo.getGradeId());
|
|
}
|
|
}
|
|
|
|
+ CourseBusinessQueryBo queryBo = new CourseBusinessQueryBo();
|
|
|
|
+ queryBo.setId(goodsVo.getBusinessId());
|
|
|
|
+ String fullName = iCourseBusinessService.queryFullName(queryBo);
|
|
|
|
+ goodsVo.setErJianErZao(false);
|
|
|
|
+ if(Validator.isNotEmpty(fullName)){
|
|
|
|
+ if(fullName.equals("继续教育二级建造师")||fullName.equals("继续教育二级造价师")){
|
|
|
|
+ goodsVo.setErJianErZao(true);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
return goodsVo;
|
|
return goodsVo;
|
|
}
|
|
}
|
|
|
|
|