|
@@ -10,6 +10,7 @@ import com.zhongzheng.common.utils.DateUtils;
|
|
|
import com.zhongzheng.modules.course.bo.MajorCategoryAddBo;
|
|
|
import com.zhongzheng.modules.course.bo.MajorCategoryEditBo;
|
|
|
import com.zhongzheng.modules.course.bo.MajorCategoryQueryBo;
|
|
|
+import com.zhongzheng.modules.course.domain.CourseSubjectProject;
|
|
|
import com.zhongzheng.modules.course.domain.MajorCategory;
|
|
|
import com.zhongzheng.modules.course.mapper.MajorCategoryMapper;
|
|
|
import com.zhongzheng.modules.course.service.IMajorCategoryService;
|
|
@@ -47,6 +48,7 @@ public class MajorCategoryServiceImpl extends ServiceImpl<MajorCategoryMapper, M
|
|
|
lqw.eq(bo.getSort() != null, MajorCategory::getSort, bo.getSort());
|
|
|
lqw.in(bo.getStatus() != null, MajorCategory::getStatus, bo.getStatus());
|
|
|
lqw.like(StrUtil.isNotBlank(bo.getCategoryName()), MajorCategory::getCategoryName, bo.getCategoryName());
|
|
|
+ lqw.orderByDesc(MajorCategory::getUpdateTime);
|
|
|
return entity2Vo(this.list(lqw));
|
|
|
}
|
|
|
|