|
@@ -2878,7 +2878,7 @@ public class ExportController extends BaseController {
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/exportMusicScoreList')")
|
|
|
public void exportMusicScoreList(SysExamSongQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
List<SysMusicScore> list = sysMusicScoreService.queryMusicScoreAll(queryInfo);
|
|
|
- if (list.size() <= 0) {
|
|
|
+ if (CollectionUtils.isEmpty(list)) {
|
|
|
return;
|
|
|
}
|
|
|
|