Kaynağa Gözat

监考端接口

wangliang 4 yıl önce
ebeveyn
işleme
dd3ecde47f

+ 18 - 0
themis-business/src/main/java/com/qmth/themis/business/dto/response/TBTaskDto.java

@@ -25,6 +25,24 @@ public class TBTaskDto implements Serializable {
     private Date finishTime;//结束时间
     private Long createId;//创建人id
     private String createName;//创建人
+    private String importFileName;//导入文件名
+    private String entityName;//业务对象名
+
+    public String getImportFileName() {
+        return importFileName;
+    }
+
+    public void setImportFileName(String importFileName) {
+        this.importFileName = importFileName;
+    }
+
+    public String getEntityName() {
+        return entityName;
+    }
+
+    public void setEntityName(String entityName) {
+        this.entityName = entityName;
+    }
 
     public Long getId() {
         return id;

+ 2 - 0
themis-business/src/main/resources/mapper/TBTaskHistoryMapper.xml

@@ -16,6 +16,8 @@
             tbth.start_time as startTime,
             tbth.finish_time as finishTime,
             tbth.create_id as createId,
+            tbth.import_file_name as importFileName,
+            (select tba.name from t_b_attachment tba where tba.id = tbth.entity_id) as entityName,
             (
             select
                 tbu.name