deason 1 year ago
parent
commit
a6ed78a347

+ 4 - 2
src/main/java/cn/com/qmth/dp/examcloud/oe/modules/fix_paper_score/FixPaperScore.java

@@ -32,13 +32,15 @@ public class FixPaperScore {
     private int curTotal = 0, noPaperStructCount = 0;
 
     public void start() {
+        // total:1404463
         StringBuilder querySql = new StringBuilder()
                 .append(" select id,paper_struct_id,paper_score")
                 .append(" from ec_oe_exam_record_data")
                 .append(" where id > %s")
                 .append(" and exam_type = 'ONLINE'")
-                .append(" and creation_time > '2023-05-01 00:00:00'")
-                .append(" order by id asc limit 0,1000");
+                // .append(" and creation_time > '2023-05-01 00:00:00'")
+                .append(" and creation_time > '2023-08-10 00:00:00'")
+                .append(" order by id asc limit 0,100");
 
         Long nextId = 0L;
         while (true) {