forked from gzzfw/backEnd/gz-dyh

liyj
2024-09-24 dcd669d0f4fad2e9292ee2ae8b2b55de98b1332c
dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/SysClient.java
@@ -1,6 +1,7 @@
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.*;
@@ -38,24 +39,13 @@
    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);
    ReturnBO getExpireTime(@RequestParam(value = "limitType") String limitType);
    /**
     * 根据条件删除附件关系
@@ -75,4 +65,31 @@
     */
    @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);
}