功能优化&问题修改 10.7

dev_2307
hechao.zhu 1 year ago
parent 8d78a823fb
commit 56a9879e53
  1. 6
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/controller/SeCourseController.java

@ -185,15 +185,15 @@ public class SeCourseController extends JeecgController<SeCourse, ISeCourseServi
String courseid = request.getParameter("id");
SeCourse seCourse = seCourseService.getById(courseid);
if (seCourse.getNature() != null) {
if (StringUtils.isNotBlank(seCourse.getNature())) {
SeNature seNature = seNatureService.getById(seCourse.getNature());
seCourse.setNature(seNature.getContent());
}
if (seCourse.getMajorid() != null) {
if (StringUtils.isNotBlank(seCourse.getMajorid())) {
SeMajor seMajor = seMajorService.getById(seCourse.getMajorid());
seCourse.setMajorid(seMajor.getName());
}
if (seCourse.getAdvancedplacement() != null) {
if (StringUtils.isNotBlank(seCourse.getAdvancedplacement())) {
String[] courseids = seCourse.getAdvancedplacement().split(",");
String advancedplacement = "";
for (String id : courseids) {

Loading…
Cancel
Save