Procházet zdrojové kódy

乐迷,学生扩展声部,选择全部声部时,需要查询该学生所有扩展声部对应的曲子

zouxuan před 4 měsíci
rodič
revize
9918efc3ef

+ 2 - 2
mec-application/src/main/java/com/ym/mec/student/controller/SysMusicScoreController.java

@@ -43,8 +43,8 @@ public class SysMusicScoreController extends BaseController {
         if(queryInfo.getSubjectId() == null){
             Student student = studentService.get(userId);
             StringBuffer subjectIds = new StringBuffer();
-            if(StringUtils.isNotEmpty(student.getSubjectId())){
-                String[] split = student.getSubjectId().split(",");
+            if(StringUtils.isNotEmpty(student.getSubjectIdList())){
+                String[] split = student.getSubjectIdList().split(",");
                 for (String s : split) {
                     if(subjectIds.length() > 0){
                         subjectIds.append(",");