소스 검색

fix bug:关系总览页面点击手动维护关系不起作用的问题

lijie 3 년 전
부모
커밋
2398ed9fce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/persagy/proxy/adm/service/impl/RelationReportService.java

+ 1 - 1
src/main/java/com/persagy/proxy/adm/service/impl/RelationReportService.java

@@ -710,7 +710,7 @@ public class RelationReportService implements IRelationReportService {
 		result.put("conneObject", relationDefine.getTargetObjs());
 		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").asText():null);
+		result.put("manual",relationProject.has("manual")?relationProject.get("manual").asLong():null);
 		result.put("projectId",relationProject.has("projectId")?relationProject.get("projectId").asText():null);
 		result.put("relationType", typeEnum == null ? null : typeEnum.getRelationType());
 		result.put("relManualType",typeEnum == null ? null : typeEnum.getRelationType());