Browse Source

新增命题统计

wangliang 3 years ago
parent
commit
302779b505

+ 6 - 7
distributed-print-business/src/main/java/com/qmth/distributed/print/business/entity/TCStatistics.java

@@ -29,9 +29,8 @@ public class TCStatistics extends BaseEntity implements Serializable {
     @ApiModelProperty(value = "课程代码")
     private String courseCode;
 
-    @ApiModelProperty(value = "任课老师id")
-    @JsonSerialize(using = ToStringSerializer.class)
-    private Long teacherId;
+    @ApiModelProperty(value = "任课老师名称")
+    private String teacherName;
 
     @ApiModelProperty(value = "班级id")
     @JsonSerialize(using = ToStringSerializer.class)
@@ -72,12 +71,12 @@ public class TCStatistics extends BaseEntity implements Serializable {
         this.courseCode = courseCode;
     }
 
-    public Long getTeacherId() {
-        return teacherId;
+    public String getTeacherName() {
+        return teacherName;
     }
 
-    public void setTeacherId(Long teacherId) {
-        this.teacherId = teacherId;
+    public void setTeacherName(String teacherName) {
+        this.teacherName = teacherName;
     }
 
     public Long getClazzId() {