From e79d8c8f9679839bf983341fe2cf3212e1bb3001 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Mon, 28 Oct 2024 14:44:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/gzdyh_test' into gzdyh_test

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java |   65 ++++++++++++++++++++++++++++----
 1 files changed, 56 insertions(+), 9 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java
index 535beed..48eb109 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java
@@ -1,10 +1,12 @@
 package cn.huge.module.client.api;
 
 import cn.huge.base.common.bo.ReturnBO;
+import cn.huge.module.cases.domain.dto.FileRelateDTO;
 import cn.huge.module.sys.dto.FileTypeTermsDTO;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.*;
 
+import java.util.Date;
 import java.util.List;
 import java.util.Map;
 
@@ -25,7 +27,7 @@
      * @return ReturnBO
      */
     @PostMapping("/api/client/fileInfo/listIdTypeInfoByOwnerIdList")
-    ReturnBO listTypeInfoByOwnerIdList(@RequestBody Map<String, Object> term, @RequestParam(value = "mainId") String mainId);
+    ReturnBO listTypeInfoByOwnerIdList(@RequestBody Map<String, Object> term);
 
     /**
      * 附件中心-根据多个所属编号查询附件
@@ -34,17 +36,16 @@
      * @return ReturnBO
      */
     @PostMapping("/api/client/fileInfo/listInfoByOwnerIdList")
-    ReturnBO listInfoByOwnerIdList(@RequestBody Map<String, Object> term, @RequestParam(value = "mainId") String mainId);
+    ReturnBO listInfoByOwnerIdList(@RequestBody Map<String, Object> term);
 
     /**
-     * 附件中心-根据多个所属编号查询附件
-     * @url {ctx}/api/v1/fileInfo/listInfoByOwnerIdList?ownerIds=
-     * @param limitTable 表名
-     * @param limitType 时限类型
-     * @return ReturnBO
+     * 获取时限
+     * @url {ctx}/api/client/syTimeLimit/getExpireTime?ownerIds=
+     * @param limitType
+     * @return
      */
-    @GetMapping("/api/client/syTimeLimit/getTimeLimit")
-    ReturnBO getTimeLimit(@RequestParam String limitTable, @RequestParam(value = "limitType") String limitType);
+    @GetMapping("/api/client/syTimeLimit/getExpireTime")
+    ReturnBO getExpireTime(@RequestParam(value = "limitType") String limitType);
 
     /**
      * 根据条件删除附件关系
@@ -54,4 +55,50 @@
      */
     @PostMapping("/api/client/fileRelate/removeFileRelate")
     ReturnBO removeFileRelate(@RequestBody FileTypeTermsDTO fileTypeTermsDTO);
+
+    /**
+     * 根据百度地图经纬度获取街道
+     * @url {ctx}/api/client/syRegion/getQueAddrByBaiduiLngLat
+     * @param lng 经度
+     * @param lat 维度
+     * @return
+     */
+    @GetMapping("/api/client/syRegion/getQueAddrByBaiduiLngLat")
+    ReturnBO getQueAddrByBaiduiLngLat(@RequestParam(value = "lng") String lng, @RequestParam(value = "lat") String lat);
+
+    /**
+     * 根据关系编号查询附件关系信息
+     * @url {ctx}/api/v1/fileRelate/listFileRelateByOwnerId
+     * @param ownerId 条件
+     * @return Object
+     */
+    @GetMapping("/api/client/fileRelate/listFileRelateByOwnerId")
+    ReturnBO listFileRelateByOwnerId(@RequestParam(value = "ownerId") String ownerId);
+
+    /**
+     * 插入多条附件关系记录
+     * @url {ctx}/api/v1/fileRelate/saveFileRelateList
+     * @param fileRelateList 关系记录
+     * @return Object
+     */
+    @PostMapping("/api/client/fileRelate/saveFileRelateList")
+    ReturnBO saveFileRelateList(@RequestBody List<FileRelateDTO> fileRelateList);
+
+    /**
+     * 根据父类ID获取区域列表
+     * @url {ctx}/api/web/syRegion/listByParentId
+     * @param parentId 条件
+     * @return Object
+     */
+    @GetMapping("/api/web/syRegion/listByParentId")
+    ReturnBO listByParentId(@RequestParam(value = "parentId") String parentId);
+
+    /**
+     * 根据id查询附件信息
+     * @url {ctx}/api/client/fileInfo/getFileInfoById
+     * @param id 条件
+     * @return Object
+     */
+    @GetMapping("/api/client/fileInfo/getFileInfoById")
+    ReturnBO getFileInfoById(@RequestParam(value = "id") String id);
 }

--
Gitblit v1.8.0