刘俊驰 1 개월 전
부모
커밋
ab2a3c0c81
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/MusicSheetServiceImpl.java

+ 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();