|
|
@@ -11,6 +11,7 @@ import com.zhongzheng.modules.bank.mapper.QuestionBankMapper;
|
|
|
import com.zhongzheng.modules.bank.service.IQuestionBankService;
|
|
|
import com.zhongzheng.modules.bank.vo.QuestionBankVo;
|
|
|
import com.zhongzheng.modules.course.bo.CourseQueryBo;
|
|
|
+import com.zhongzheng.modules.course.domain.Course;
|
|
|
import com.zhongzheng.modules.course.mapper.CourseMapper;
|
|
|
import com.zhongzheng.modules.course.service.IMajorCategoryService;
|
|
|
import com.zhongzheng.modules.course.vo.CourseVo;
|
|
|
@@ -66,6 +67,7 @@ public class QuestionBankServiceImpl extends ServiceImpl<QuestionBankMapper, Que
|
|
|
lqw.in(bo.getStatus() != null, QuestionBank::getStatus, bo.getStatus());
|
|
|
lqw.eq(bo.getTypeId() != null, QuestionBank::getTypeId, bo.getTypeId());
|
|
|
lqw.eq(StrUtil.isNotBlank(bo.getTeacherIds()), QuestionBank::getTeacherIds, bo.getTeacherIds());
|
|
|
+ lqw.orderByDesc(QuestionBank::getSort);
|
|
|
return entity2Vo(this.list(lqw));
|
|
|
}
|
|
|
|