From 21f45258cfcdc79127f85ad6e45736cff5acd345 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Mon, 21 Oct 2024 20:58:05 +0800
Subject: [PATCH] 1、数据割接程序,白云区矛盾纠纷多元化解平台 2、纠纷态势报错修改
---
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java | 25 +++++--------------------
1 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java
index a2fea0c..04a2fae 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java
@@ -201,21 +201,6 @@
}
/**
- * 根据编号查询单个
- * @url {ctx}/api/web/caseAssistApply/getById
- * @param id 主键编号
- * @return Object
- */
- @GetMapping("/getById")
- public Object getById(@RequestParam(value = "id") String id) {
- try {
- return ReturnSucUtils.getRepInfo(service.getById(id));
- } catch (Exception e) {
- return ReturnFailUtils.getRepInfo();
- }
- }
-
- /**
* 根据主键单个
* @url {ctx}/api/web/caseAssistApply/deleteById
* @param id 主键编号
@@ -281,14 +266,14 @@
/**
* 根据案件编号查询联合处置申请
- * @url {ctx}/api/web/caseAssistApply/getByCaseId
- * @param caseId 主键编号
+ * @url {ctx}/api/web/caseAssistApply/getById
+ * @param id 主键编号
* @return Object
*/
- @GetMapping("/getByCaseId")
- public Object getByCaseId(@RequestParam(value = "caseId") String caseId) {
+ @GetMapping("/getById")
+ public Object getById(@RequestParam(value = "id") String id) {
try {
- return ReturnSucUtils.getRepInfo(service.caseAssistApplyByCaseId(caseId));
+ return ReturnSucUtils.getRepInfo(service.caseAssistApplyById(id));
} catch (Exception e) {
return ReturnFailUtils.getRepInfo();
}
--
Gitblit v1.8.0