|
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
|
|
|
import com.persagy.dmp.basic.config.DigitalFeignConfig;
|
|
|
import com.persagy.dmp.basic.dto.RequestData;
|
|
|
import com.persagy.dmp.common.model.response.CommonResult;
|
|
|
+import com.persagy.dmp.digital.entity.ObjectRelation;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -120,4 +121,21 @@ public interface DigitalObjectSimpleClient {
|
|
|
CommonResult<List<ObjectNode>> querySystemListByConditions(@RequestParam("groupCode") String groupCode, @RequestParam("projectId") String projectId,
|
|
|
@RequestParam("appId") String appId,
|
|
|
@RequestParam("userId") String userId, @RequestBody RequestData requestData);
|
|
|
+ /***
|
|
|
+ * Description: 根据对象id统计关系数量
|
|
|
+ * @param groupCode: 集团编码
|
|
|
+ * @param appId: 应用ID
|
|
|
+ * @param userId: 用户ID
|
|
|
+ * @param projectId: 项目id
|
|
|
+ * @param requestData : 请求参数
|
|
|
+ * @author : lijie
|
|
|
+ * @date :2021/10/28 10:16
|
|
|
+ * Update By lijie 2021/10/28 10:16
|
|
|
+ */
|
|
|
+ @PostMapping("report/relation/queryRelationCountByObjIds")
|
|
|
+ CommonResult<List<ObjectRelation>> queryRelationCountByObjIds(@RequestParam("groupCode") String groupCode,
|
|
|
+ @RequestParam("projectId") String projectId,
|
|
|
+ @RequestParam("appId") String appId,
|
|
|
+ @RequestParam("userId") String userId,
|
|
|
+ @RequestBody Object requestData);
|
|
|
}
|