Commit e7b24128 authored by liqin's avatar liqin 💬

bug fixed

parent 3c9e3d7a
......@@ -33,6 +33,7 @@ import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
......@@ -155,6 +156,8 @@ public class ExhibitionBoardCatController extends BaseController {
if (!copyrightOwnerBoardCatList.isEmpty()) {
final List<String> collect = copyrightOwnerBoardCatList.stream().map(CopyrightOwnerBoardCat::getBoardCatId).distinct().collect(Collectors.toList());
exhibitionBoardCatLambdaQueryWrapper.in(ExhibitionBoardCat::getId, collect);
} else {
return getResult(Collections.emptyList());
}
}
List<ExhibitionBoardCat> exhibitionBoardCatList = exhibitionBoardCatService.list(exhibitionBoardCatLambdaQueryWrapper);
......
......@@ -26,6 +26,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
......@@ -105,6 +106,8 @@ public class VideoContentCatController extends BaseController {
if (!copyrightOwnerVideoContentCatList.isEmpty()) {
final List<String> collect = copyrightOwnerVideoContentCatList.stream().map(CopyrightOwnerVideoContentCat::getVideoContentCatId).distinct().collect(Collectors.toList());
videoContentCatLambdaQueryWrapper.in(VideoContentCat::getId, collect);
} else {
return getResult(Collections.emptyList());
}
}
List<VideoContentCat> videoContentCatList = videoContentCatService.list(videoContentCatLambdaQueryWrapper);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment