|
@@ -41,8 +41,8 @@ public class ExamRecordDataTool {
|
|
|
.append(" inner join ec_b_course c on c.id = t.course_id")
|
|
|
.append(" inner join ec_b_org org on org.id = t.root_org_id")
|
|
|
.append(" where 1=1")
|
|
|
- .append(" and t.creation_time >= '2022-05-08 00:00:00'")
|
|
|
- .append(" and t.creation_time <= '2022-05-08 23:59:59'")
|
|
|
+ .append(" and t.creation_time >= '2022-07-02 00:00:00'")
|
|
|
+ .append(" and t.creation_time <= '2022-07-02 23:59:59'")
|
|
|
.append(" and t.sync_status = 'UNSYNC'")
|
|
|
// .append(" order by t.root_org_id,t.exam_id")
|
|
|
// .append(" limit 10")
|
|
@@ -78,6 +78,10 @@ public class ExamRecordDataTool {
|
|
|
hasError = true;
|
|
|
}
|
|
|
|
|
|
+ if (data.getQuestionCount() == null) {
|
|
|
+ data.setQuestionCount(0);
|
|
|
+ }
|
|
|
+
|
|
|
int x = 0;
|
|
|
for (int n = 1; n <= data.getQuestionCount(); n++) {
|
|
|
String studentAnswerKey = String.format("OE_ANSWER:%s_%s", vo.getId(), n);
|