|
@@ -311,6 +311,9 @@ public class MyConsumer extends Consumer<PaperExportDto> {
|
|
|
private List<QuestionVo> getSubQuestion(Connection connect, String courseCode, List<String> pids)
|
|
|
throws SQLException, IOException {
|
|
|
List<QuestionVo> qs = new ArrayList<>();
|
|
|
+ if(CollectionUtils.isEmpty(pids)) {
|
|
|
+ return qs;
|
|
|
+ }
|
|
|
PreparedStatement preState = null;
|
|
|
ResultSet resultSet = null;
|
|
|
try {
|