deason 1 年之前
父节点
当前提交
a6ed78a347
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/cn/com/qmth/dp/examcloud/oe/modules/fix_paper_score/FixPaperScore.java

+ 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) {