This commit is contained in:
zhouwentao 2024-06-23 10:59:58 +08:00
parent 554e402026
commit 80deb8892e
1 changed files with 4 additions and 4 deletions

View File

@ -385,10 +385,10 @@ public class YxSchoolMajorController extends JeecgController<YxSchoolMajor, IYxS
throw new JeecgBootException(String.format("行[%s],未识别到音乐类型-主考科目", index)); throw new JeecgBootException(String.format("行[%s],未识别到音乐类型-主考科目", index));
} }
//专业子类 //专业子类
if (mainSubjects.contains("音乐表演")) { if (majorTypeChild.contains("音乐表演")) {
item.setMainSubjects("音乐表演"); item.setMajorTypeChild("音乐表演");
}else if (mainSubjects.contains("音乐教育")) { }else if (majorTypeChild.contains("音乐教育")) {
item.setMainSubjects("音乐教育"); item.setMajorTypeChild("音乐教育");
}else { }else {
throw new JeecgBootException(String.format("行[%s],未识别到音乐类型-专业子级类别", index)); throw new JeecgBootException(String.format("行[%s],未识别到音乐类型-专业子级类别", index));
} }