Переглянути джерело

调整:queryModelFilesByProjectId接口返回参数加上创建时间

lijie 2 роки тому
батько
коміт
e923215f7b

+ 1 - 0
adm-business/adm-server/src/main/java/com/persagy/adm/server/algorithm/controller/AdmModelController.java

@@ -110,6 +110,7 @@ public class AdmModelController {
             vo.setStatus(admModelFile.getStatus());
             vo.setUserId(admModelFile.getUserId());
             vo.setUserName(admModelFile.getUserName());
+            vo.setCreationTime(admModelFile.getCreationTime());
         }
         // 4.处理一下排序
         List<BuildingVo> buildingVos = CollUtil.newArrayList(buildingVoMap.values()).stream()

+ 4 - 0
adm-business/adm-server/src/main/java/com/persagy/adm/server/algorithm/domain/ModelFileVo.java

@@ -1,5 +1,6 @@
 package com.persagy.adm.server.algorithm.domain;
 
+import com.persagy.dmp.common.lang.PsDateTime;
 import lombok.Data;
 
 import javax.validation.constraints.NotBlank;
@@ -53,4 +54,7 @@ public class ModelFileVo {
     /**楼层序号*/
     private Integer floorSequenceId;
 
+    /**上传时间,格式为yyyyMMddHHmmss*/
+    private PsDateTime creationTime;
+
 }