瀏覽代碼

overview接口新增computingTime字段

zhangqiankun 3 年之前
父節點
當前提交
9302f3302a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/persagy/proxy/report/service/impl/RelationReportService.java

+ 2 - 0
src/main/java/com/persagy/proxy/report/service/impl/RelationReportService.java

@@ -754,6 +754,8 @@ public class RelationReportService implements IRelationReportService {
 		result.put("graphicId", graphicId);
 		result.put("statistics", new JSONObject());
 		result.put("conneObject", relationDefine.getTargetObjs());
+		
+		result.put("computingTime", relationProject.has("computingTime") ? DateUtil.parse(relationProject.get("computingTime").asText(), "yyyyMMddHHmmss").toString() : null);
 		result.put("computationalState",relationProject.has("computationalState")?relationProject.get("computationalState").asText():null);
 		result.put("id",relationProject.has("id")?relationProject.get("id").asText():null);
 		result.put("manual",relationProject.has("manual")?relationProject.get("manual").asLong():null);