From 78c1f87d61d1411356a422ab841afde67342d228 Mon Sep 17 00:00:00 2001 From: wangwh <2397901735@qq.com> Date: Wed, 04 Sep 2024 20:52:15 +0800 Subject: [PATCH] 1、事项登记、详情查询接口 2、ocr识别文字接口 3、办理流转-查询下属人员、选择经办人、获取工作人员信息、添加办理反馈、获取办理反馈信息、修改办理反馈信息 4、督办-添加督办、回复督办、查询督办列表 5、查询评价 --- dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java index 70efae2..929b3fb 100644 --- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java +++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/controller/web/CtUnitWebController.java @@ -314,7 +314,7 @@ /** * 获取所有组织(包含所有下级子组织)树形结构 - * @url {ctx}/api/v1/ctUnit/listUnitTree + * @url {ctx}/api/web/ctUnit/listUnitTree * @param userId 登录用户标识称 * @return Object */ @@ -333,7 +333,7 @@ /** * 获取组织详情(包含组织下的部门详情) - * @url {ctx}/api/v1/ctUnit/getUnitAndDept?id= + * @url {ctx}/api/web/ctUnit/getUnitAndDept?id= * @param id 组织编号 * @return Object */ @@ -347,4 +347,22 @@ return ReturnFailUtils.getRepInfo( "查询失败", null); } } + + /** + * 根据主键编号删除单位 + * @url {ctx}/api/web/ctUnit/removeByIds + * @param ids 主键编号 + * @return Object + * @throws Exception + */ + @GetMapping("/removeByIds") + public Object removeByIds(@RequestParam(value = "ids") String ids) { + try { + service.removeById(ids); + return ReturnSucUtils.getRepInfo(); + } catch (Exception e) { + log.error("Controller接口[CtUnitController.removeByIds]请求异常:"+e, e); + return ReturnFailUtils.getRepInfo(); + } + } } -- Gitblit v1.8.0