|
@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
|
|
+import com.zhongzheng.modules.course.bo.CourseProjectTypeQueryBo;
|
|
import com.zhongzheng.modules.course.service.ICourseProjectTypeService;
|
|
import com.zhongzheng.modules.course.service.ICourseProjectTypeService;
|
|
import com.zhongzheng.modules.course.vo.CourseProjectTypeVo;
|
|
import com.zhongzheng.modules.course.vo.CourseProjectTypeVo;
|
|
import com.zhongzheng.modules.user.bo.*;
|
|
import com.zhongzheng.modules.user.bo.*;
|
|
@@ -75,7 +76,10 @@ public class SchoolServiceImpl extends ServiceImpl<SchoolMapper, School> impleme
|
|
voList = pageVo;
|
|
voList = pageVo;
|
|
}
|
|
}
|
|
for (SchoolVo schoolVo : voList) {
|
|
for (SchoolVo schoolVo : voList) {
|
|
- List<CourseProjectTypeVo> courseProjectTypeVos = baseMapper.selectProject();
|
|
|
|
|
|
+ CourseProjectTypeQueryBo courseProjectTypeQueryBo = new CourseProjectTypeQueryBo();
|
|
|
|
+ courseProjectTypeQueryBo.setId(schoolVo.getId());
|
|
|
|
+ List<CourseProjectTypeVo> courseProjectTypeVos = baseMapper.selectProject(courseProjectTypeQueryBo);
|
|
|
|
+ schoolVo.setCourseProjectTypes(courseProjectTypeVos);
|
|
}
|
|
}
|
|
return voList;
|
|
return voList;
|
|
}
|
|
}
|