From 4c777f25ef30ccb4356822fc4512cb4034dab6b0 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Wed, 11 Sep 2024 11:58:31 +0800
Subject: [PATCH] 1、新增经纬度转换属地接口 2、修改办理结果查询接口 3、修改小程序属地查询接口 4、修改办理信息查询接口
---
dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 48 insertions(+), 6 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 748a91d..743978f 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,13 @@
package cn.huge.module.client.api;
import cn.huge.base.common.bo.ReturnBO;
+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;
/**
* @title: 系统公共服务微服务调用接口
@@ -19,18 +22,57 @@
/**
* 附件中心-根据多个所属编号查询附件并根据先根据ownerId再根据附件类型分组
* @url {ctx}/api/v1/fileInfo/listTypeInfoByOwnerIds?ownerIds=
- * @param ownerIdList 所属业务编号
+ * @param term 所属业务编号
* @return ReturnBO
*/
- @GetMapping("/api/client/fileInfo/listIdTypeInfoByOwnerIdList")
- ReturnBO listTypeInfoByOwnerIdList(@RequestParam(value = "ownerIdList") List<String> ownerIdList);
+ @PostMapping("/api/client/fileInfo/listIdTypeInfoByOwnerIdList")
+ ReturnBO listTypeInfoByOwnerIdList(@RequestBody Map<String, Object> term);
/**
* 附件中心-根据多个所属编号查询附件
* @url {ctx}/api/v1/fileInfo/listInfoByOwnerIdList?ownerIds=
- * @param ownerIdList 所属业务编号
+ * @param term 所属业务编号
* @return ReturnBO
*/
- @GetMapping("/api/client/fileInfo/listInfoByOwnerIdList")
- ReturnBO listInfoByOwnerIdList(@RequestParam(value = "ownerIdList") List<String> ownerIdList);
+ @PostMapping("/api/client/fileInfo/listInfoByOwnerIdList")
+ ReturnBO listInfoByOwnerIdList(@RequestBody Map<String, Object> term);
+
+ /**
+ * 附件中心-根据多个所属编号查询附件
+ * @url {ctx}/api/v1/fileInfo/listInfoByOwnerIdList?ownerIds=
+ * @param limitTable 表名
+ * @param limitType 时限类型
+ * @return ReturnBO
+ */
+ @GetMapping("/api/client/syTimeLimit/getTimeLimit")
+ ReturnBO getTimeLimit(@RequestParam String limitTable, @RequestParam(value = "limitType") String limitType);
+
+ /**
+ * 获取时限
+ * @url {ctx}/api/client/syTimeLimit/getExpireTime?ownerIds=
+ * @param computeTime
+ * @param limitType
+ * @return
+ */
+ @GetMapping("/api/client/syTimeLimit/getExpireTime")
+ ReturnBO getExpireTime(@RequestParam(value = "computeTime") Date computeTime, @RequestParam(value = "limitType") String limitType);
+
+ /**
+ * 根据条件删除附件关系
+ * @url {ctx}/api/v1/fileRelate/removeFileRelate
+ * @param fileTypeTermsDTO 条件
+ * @return Object
+ */
+ @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);
}
--
Gitblit v1.8.0