From fd3d6d30afb9041c2cc3099833b7683e12c7daff Mon Sep 17 00:00:00 2001 From: wangwh <2397901735@qq.com> Date: Sun, 22 Sep 2024 10:00:36 +0800 Subject: [PATCH] 督办信息兼容新需求 查询待办任务-督办 首页-督办-我发起的 功能兼容 添加督办逻辑修改 新增全部签收接口 首页-待审核-我申请的 新增接口 办理反馈新增承办/配合部门判断 新增查询督办详情接口 查询时限接口bug修复 --- dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java index d837fa1..c9eaa96 100644 --- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java +++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java @@ -197,6 +197,37 @@ service.deleteFileById(id); return ReturnSucUtils.getRepInfo(); } catch (Exception e) { + log.error("controller接口[FileInfoWechatController.deleteFileById]请求异常:"+e, e); + return ReturnFailUtils.getRepInfo(); + } + } + + /** + * 根据多个所属编号查询附件 + * @url {ctx}/api/wechat/fileInfo/listByMainId + * @return Object + */ + @GetMapping("/listByMainId") + public Object listByMainId(@RequestParam(value = "mainId") String mainId) { + try { + return ReturnSucUtils.getRepInfo(service.listByMainId(mainId)); + } catch (Exception e) { + log.error("controller接口[FileInfoWechatController.listByMainId]请求异常:"+e, e); + return ReturnFailUtils.getRepInfo(); + } + } + + /** + * 根据多个所属编号查询附件 + * @url {ctx}/api/wechat/fileInfo/listByMainIdAndType?mainId=&ownerType= + * @return Object + */ + @GetMapping("/listByMainIdAndType") + public Object listByMainIdAndType(@RequestParam(value = "mainId") String mainId,@RequestParam(value = "ownerType") String ownerType) { + try { + return ReturnSucUtils.getRepInfo(service.listByMainIdAndType(mainId,ownerType)); + } catch (Exception e) { + log.error("controller接口[FileInfoWechatController.listByMainIdAndType]请求异常:"+e, e); return ReturnFailUtils.getRepInfo(); } } -- Gitblit v1.8.0