From c16a867c943e25a25d64f02fb95e755ef1a7c9f9 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Mon, 30 Sep 2024 18:03:25 +0800
Subject: [PATCH] 1、审核过程中申请记录的申请时间和申请人无法查看 2、审核联合处置申请在申请部门已办结后会报错,且无法继续审核 3、案件不予受理后在已办中无记录 4、上报的案件上级部门回退后下级部门接收不到 5、广州市综治中心纠纷依然可以选择上报,且点击上报后报错

---
 dyh-service/dyh-base/src/main/resources/template/wechatController.ftl |   30 +++++++++++++-----------------
 1 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/dyh-service/dyh-base/src/main/resources/template/wechatController.ftl b/dyh-service/dyh-base/src/main/resources/template/wechatController.ftl
index f19b6ae..ac6dbba 100644
--- a/dyh-service/dyh-base/src/main/resources/template/wechatController.ftl
+++ b/dyh-service/dyh-base/src/main/resources/template/wechatController.ftl
@@ -1,4 +1,4 @@
-package ${basePackage}.${packageName}.controller;
+package ${basePackage}.${packageName}.controller.wechat;
 
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
@@ -19,8 +19,8 @@
 import java.util.stream.Stream;
 
 /**
- * @title: ${tableComments}接口api
- * @description: ${tableComments}接口api
+ * @title: ${tableComments}接口api-wechat端
+ * @description: ${tableComments}接口api-wechat端
  * @company: hugeinfo
  * @author: ${author}
  * @time: ${createTime}
@@ -71,7 +71,7 @@
 
     /**
     * 条件查询多个
-    * @url {ctx}/api/v1<#if classPath??>/${classPath}</#if>/listQuery
+    * @url {ctx}/api/wechat<#if classPath??>/${classPath}</#if>/listQuery
     * @return Object
     */
     @GetMapping("/listQuery")
@@ -87,7 +87,7 @@
 
     /**
     * 条件分页查询
-    * @url {ctx}/api/v1<#if classPath??>/${classPath}</#if>/pageQuery
+    * @url {ctx}/api/wechat<#if classPath??>/${classPath}</#if>/pageQuery
     * @param page 页码
     * @param size 每页数量
     * @return Object
@@ -107,7 +107,7 @@
 
     /**
     * 根据编号查询单个
-    * @url {ctx}/api/v1<#if classPath??>/${classPath}</#if>/getById
+    * @url {ctx}/api/wechat<#if classPath??>/${classPath}</#if>/getById
     * @param id 主键编号
     * @return Object
     */
@@ -121,19 +121,15 @@
     }
 
     /**
-    * 根据主键单个/批量删除
-    * @url {ctx}/api/v1<#if classPath??>/${classPath}</#if>/removeByIds
-    * @param ids 主键编号
+    * 根据主键单个
+    * @url {ctx}/api/wechat<#if classPath??>/${classPath}</#if>/deleteById
+    * @param id 主键编号
     * @return Object
     */
-    @GetMapping("/removeByIds")
-    public Object removeByIds(@RequestParam(value = "ids") String ids) {
+    @GetMapping("/deleteById")
+    public Object deleteById(@RequestParam(value = "id") String id) {
         try {
-            if (ids.indexOf(",") != -1) {
-                service.removeByIds(Stream.of(ids.split(",")).collect(Collectors.toList()));
-            }else{
-                service.removeById(ids);
-            }
+            service.deleteById(id);
             return ReturnSucUtils.getRepInfo();
         } catch (Exception e) {
             return ReturnFailUtils.getRepInfo();
@@ -142,7 +138,7 @@
 
     /**
     * 新增或更新对象
-    * @url {ctx}/api/v1<#if classPath??>/${classPath}</#if>/save${className}
+    * @url {ctx}/api/wechat<#if classPath??>/${classPath}</#if>/save${className}
     * @param ${lowerName} 实体对象
     * @return Object
     */

--
Gitblit v1.8.0