package cn.huge.module.client.api;
|
|
import cn.huge.base.common.bo.R;
|
import cn.huge.base.common.bo.ReturnBO;
|
import cn.huge.module.cases.domain.dto.GridApprovalRecordDTO;
|
import cn.huge.module.cases.domain.vo.GenerateQrCodeRequestVo;
|
import cn.huge.module.sys.vo.*;
|
import cn.huge.module.sys.dto.*;
|
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.List;
|
import java.util.Map;
|
|
/**
|
* @title: 系统公共服务微服务调用接口
|
* @description: 系统公共服务微服务调用接口
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2021-11-05 16:51:48
|
* @version: 1.0.0
|
*/
|
@FeignClient(name = "dyh-sys")
|
public interface SysClient {
|
@GetMapping("/api/client/fileRelate/getFileRelateByFileId")
|
ReturnBO getFileRelateByFileId(@RequestParam(value = "fileIld") String fileId);
|
@GetMapping("/api/client/fileRelate/deleteFileById")
|
ReturnBO deleteFileById(@RequestParam(value = "id") String id);
|
/**
|
* 附件中心-根据多个所属编号查询附件并根据先根据ownerId再根据附件类型分组
|
* @url {ctx}/api/v1/fileInfo/listTypeInfoByOwnerIds?ownerIds=
|
* @param term 所属业务编号
|
* @return ReturnBO
|
*/
|
@PostMapping("/api/client/fileInfo/listIdTypeInfoByOwnerIdList")
|
ReturnBO listTypeInfoByOwnerIdList(@RequestBody Map<String, Object> term);
|
|
/**
|
* 附件中心-根据多个所属编号查询附件
|
* @url {ctx}/api/v1/fileInfo/listInfoByOwnerIdList?ownerIds=
|
* @param term 所属业务编号
|
* @return ReturnBO
|
*/
|
@PostMapping("/api/client/fileInfo/listInfoByOwnerIdList")
|
ReturnBO listInfoByOwnerIdList(@RequestBody Map<String, Object> term);
|
|
/**
|
* 获取时限
|
* @url {ctx}/api/client/syTimeLimit/getExpireTime?ownerIds=
|
* @param limitType
|
* @return
|
*/
|
@GetMapping("/api/client/syTimeLimit/getExpireTime")
|
ReturnBO getExpireTime(@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);
|
|
/**
|
* 根据百度地图地址获取街道
|
* @url {ctx}/api/client/syRegion/getQueAddrByBaiduiAddr
|
* @param addr 地址
|
* @return
|
*/
|
@GetMapping("/api/client/syRegion/getQueAddrByBaiduiAddr")
|
ReturnBO getQueAddrByBaiduiAddr(@RequestParam(value = "addr") String addr);
|
|
/**
|
* 根据关系编号查询附件关系信息
|
* @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);
|
|
/**
|
* 创建待办
|
* @url {ctx}/api/thrid/grid/todo/create-task-todo
|
* @param gridToDoBacthVo
|
* @param unitId
|
* @return GridToDoVo
|
*/
|
@PostMapping("/api/thrid/grid/todo/create-task-todo")
|
R<List<GridToDoVo>> createTaskToDo(@RequestBody GridToDoBacthVo gridToDoBacthVo, @RequestParam(value = "unitId")String unitId);
|
|
/**
|
* 更新待办
|
* @url {ctx}/api/thrid/grid/todo/update-task-todo
|
* @param gridToDoVo
|
* @return GridToDoVo
|
*/
|
@PostMapping("/api/thrid/grid/todo/update-task-todo")
|
R<List<GridToDoVo>> updateTaskTodo(@RequestBody GridToDoVo gridToDoVo, @RequestParam(value = "previousTaskId") String previousTaskId);
|
|
/**
|
* 删除待办
|
* @url {ctx}/api/thrid/grid/todo/delete-task-todo
|
* @param gridTaskVo
|
* @return gridIdsVo
|
*/
|
@PostMapping("/api/thrid/grid/todo/delete-task-todo")
|
R<String> deleteTaskTodo(@RequestBody GridTaskVo gridTaskVo);
|
|
/**
|
* 根据id查询附件信息
|
* @url {ctx}/api/client/fileInfo/getFileInfoById
|
* @param id 条件
|
* @return Object
|
*/
|
@GetMapping("/api/client/fileInfo/getFileInfoById")
|
ReturnBO getFileInfoById(@RequestParam(value = "id") String id);
|
|
/**
|
* 根据坐标获取网格信息 bd09
|
*/
|
@PostMapping("/api/thrid/grid/coordinate/getGridInfoBd09")
|
R<GridCoordinateDTO> getGridInfoBd09(@RequestBody GridCoordinateVo gridCoordinateVo);
|
|
/**
|
* 附件中心-根据条件查询附件
|
* @url {ctx}/api/v1/fileInfo/listFileInfoByTerms
|
* @param term 条件
|
* @return ReturnBO
|
*/
|
@PostMapping("/api/client/fileInfo/listFileInfoByTerms")
|
ReturnBO listFileInfoByTerms(@RequestBody Map<String, Object> term);
|
|
/**
|
* 根据id获取父级案件类型对象
|
* @url {ctx}/api/web/syCause/getById
|
* @param id 条件
|
* @return Object
|
*/
|
@GetMapping("/api/web/syCause/getParentCaseTypeById")
|
ReturnBO getParentCaseTypeById(@RequestParam(value = "id") String id);
|
|
/**
|
* 根据caseid查询是否是网格推送事件
|
* @url {ctx}/api/web/gridEvent/isGridEvent
|
* @param caseId 条件
|
* @return Object
|
*/
|
@GetMapping("/api/web/gridEvent/getGridEventId")
|
ReturnBO getGridEventId(@RequestParam(value = "caseId") String caseId);
|
|
/**
|
* 更新网格时间状态
|
* @url {ctx}/api/web/gridEvent/updateCaseEvent
|
* @param gridApprovalRecordDTO
|
* @return Object
|
*/
|
@GetMapping("/api/web/gridEvent/updateCaseEvent")
|
ReturnBO updateCaseEvent(@RequestBody GridApprovalRecordDTO gridApprovalRecordDTO);
|
|
/**
|
* 根据文件id复制文件
|
* @url {ctx}/api/client/fileInfo/copyFile?mainId=&ownerId=&ownerType=&fileId=
|
* @return Object
|
*/
|
@GetMapping("/api/client/fileInfo/copyFile")
|
ReturnBO copyFile(@RequestParam(value = "mainId") String mainId,@RequestParam(value = "ownerId") String ownerId,@RequestParam(value = "ownerType") String ownerType,@RequestParam(value = "fileId") String fileId);
|
|
/**
|
* 获取大平台事项编号
|
* @url {ctx}/api/citizen/event/getCaseRefByGenerateQrCode
|
* @param generateQrCodeRequestVo
|
* @return Object
|
*/
|
@GetMapping("/api/citizen/event/getCaseRefByGenerateQrCode")
|
ReturnBO getCaseRefByGenerateQrCode(@RequestBody GenerateQrCodeRequestVo generateQrCodeRequestVo);
|
}
|