Forráskód Böngészése

数据库字段调整

deason 6 éve
szülő
commit
7eb7fc4e60

+ 7 - 19
examcloud-core-print-dao/src/main/java/cn/com/qmth/examcloud/core/print/entity/ProjectStatistic.java

@@ -18,16 +18,12 @@ import javax.persistence.Table;
  */
 @Entity
 @Table(name = "ec_prt_project_statistic", indexes = {
-        @Index(name = "INDEX_PRT_PROJECT_STATISTIC_01", columnList = "orgId,examId", unique = true)})
+        @Index(name = "INDEX_PRT_PROJECT_STATISTIC_01", columnList = "projectId", unique = true)})
 public class ProjectStatistic extends IdEntity {
     /**
-     * 学校机构ID
+     * 印刷项目ID
      */
-    private Long orgId;
-    /**
-     * 考试ID
-     */
-    private Long examId;
+    private Long projectId;
     /**
      * 人科次
      */
@@ -61,20 +57,12 @@ public class ProjectStatistic extends IdEntity {
      */
     private Integer backupA4;
 
-    public Long getOrgId() {
-        return orgId;
-    }
-
-    public void setOrgId(Long orgId) {
-        this.orgId = orgId;
-    }
-
-    public Long getExamId() {
-        return examId;
+    public Long getProjectId() {
+        return projectId;
     }
 
-    public void setExamId(Long examId) {
-        this.examId = examId;
+    public void setProjectId(Long projectId) {
+        this.projectId = projectId;
     }
 
     public Integer getTotalStudent() {