From 0d514ca5405b42b3d31e2e68d7a1e9e834cae706 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Fri, 25 Oct 2024 09:24:34 +0800
Subject: [PATCH] fix:调试待办工单

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/controller/web/CaseAssistApplyWebController.java |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 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 d70c0a7..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
@@ -5,6 +5,7 @@
 import cn.huge.base.config.CurrentUser;
 import cn.huge.module.cases.domain.po.CaseAssistApply;
 import cn.huge.module.cases.service.CaseAssistApplyService;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.google.common.collect.Maps;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -133,9 +134,9 @@
             terms.put("auditResultName", auditResultName);
         }
         // 审核理由
-        String audit_content = request.getParameter("audit_content");
-        if (StringUtils.isNotBlank(audit_content)){
-            terms.put("audit_content", audit_content);
+        String auditContent = request.getParameter("auditContent");
+        if (StringUtils.isNotBlank(auditContent)){
+            terms.put("auditContent", auditContent);
         }
         // 删除状态,0:未删除,1:已删除
         String deleteStatus = request.getParameter("deleteStatus");
@@ -200,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 主键编号
@@ -264,7 +250,7 @@
 
     /**
      * 审核联合审核
-     * @url {ctx}/api/web/caseAssistApply/addCaseAssistApply
+     * @url {ctx}/api/web/caseAssistApply/reviewCaseAssistApply
      * @param caseAssistApply 实体对象
      * @return Object
      */
@@ -278,4 +264,18 @@
         }
     }
 
+    /**
+     * 根据案件编号查询联合处置申请
+     * @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.caseAssistApplyById(id));
+        } catch (Exception e) {
+            return ReturnFailUtils.getRepInfo();
+        }
+    }
 }

--
Gitblit v1.8.0