刘俊驰 1 month ago
parent
commit
ab2a3c0c81

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/MusicSheetServiceImpl.java

@@ -1188,7 +1188,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
         List<String> musicIds = records.stream().map(TeacherMusicSheetVo::getMusicSheetId).collect(Collectors.toList());
 
         List<MusicSheetAuthRecord> list = musicSheetAuthRecordService.lambdaQuery()
-                .eq(MusicSheetAuthRecord::getMusicSheetId, musicIds)
+                .in(MusicSheetAuthRecord::getMusicSheetId, musicIds)
                 .eq(MusicSheetAuthRecord::getAuditState, AuthStatusEnum.PASS)
                 .orderByAsc(MusicSheetAuthRecord::getId)
                 .list();