浏览代码

fix:修改变量名避免mysql保留字

xuxiaopang 2 年之前
父节点
当前提交
61d6461c9e

+ 1 - 1
src/main/java/com/nju/edu/eval/data/entity/Score.java

@@ -39,7 +39,7 @@ public class Score {
     /**
     /**
      * 本次考试排名
      * 本次考试排名
      */
      */
-    private int rank = 0;
+    private int studentRank = 0;
 
 
     /**
     /**
      * 第一次提交时间
      * 第一次提交时间

+ 1 - 1
src/main/java/com/nju/edu/eval/model/vo/score/PersonalScoreReportVO.java

@@ -22,7 +22,7 @@ public class PersonalScoreReportVO implements Serializable {
 
 
     private Double score;
     private Double score;
 
 
-    private Integer rank;
+    private Integer studentRank;
 
 
     private Date submitTime;
     private Date submitTime;