Przeglądaj źródła

管乐迷曲目来源内容平台

zouxuan 1 rok temu
rodzic
commit
06984a75b3

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/CbsSubjectServiceImpl.java

@@ -50,7 +50,7 @@ public class CbsSubjectServiceImpl implements CbsSubjectService {
         List<CbsSubjectApiWrapper.Subject> subjects = subjectService.getDao().queryCbsSubjects(query);
         for (CbsSubjectApiWrapper.Subject subject : subjects) {
             if(subject.getCbsSubjectId() != null){
-                SubjectWrapper.Subject cbsSubject = subjectIdNameMap.get(subject.getCbsSubjectId().intValue());
+                SubjectWrapper.Subject cbsSubject = subjectIdNameMap.get(subject.getSubjectId().intValue());
                 if (cbsSubject != null) {
                     List<InstrumentWrapper.Instrument> instruments = cbsSubject.getInstruments();
                     if (CollectionUtils.isNotEmpty(instruments)) {