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-mediate/src/main/java/cn/huge/module/client/api/impl/UtilsClientImpl.java |   87 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 86 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/impl/UtilsClientImpl.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/impl/UtilsClientImpl.java
index bc25875..5bce048 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/impl/UtilsClientImpl.java
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/impl/UtilsClientImpl.java
@@ -31,7 +31,7 @@
 
     /**
      * 公共工具-id工具-获取时间Id,后四位常量
-     * @url {ctx}/common/api/idUtils/getNewTimeId
+     * @url {ctx}/api/client/mediateUtils/getNewTimeId
      * @return ReturnBO
      */
     public String getNewTimeId(){
@@ -50,4 +50,89 @@
         }
     }
 
+    /**
+     * 公共工具-id工具-获取时间Id,后四位常量
+     * @url {ctx}/api/client/mediateUtils/getNewTimeCaseId
+     * @return ReturnBO
+     */
+    public String getNewTimeCaseId(){
+        try{
+            ReturnBO returnBo = utilsClient.getNewTimeCaseId();
+            if (ReturnConsts.OK == returnBo.getCode()){
+                String id = (String) returnBo.getData();
+                return id;
+            }else{
+                log.error("Client外服务接口[UtilsClientImpl.getNewTimeCaseId]请求异常:" + returnBo.getMsg(), returnBo.getMsg());
+                throw new ClientException("UtilsClientImpl.getNewTimeCaseId", returnBo.getMsg());
+            }
+        }catch (Exception e){
+            log.error("service方法[UtilsClientImpl.getNewTimeCaseId]请求成功,处理异常:"+e, e);
+            throw new ServiceException("UtilsClientImpl.getNewTimeCaseId", e);
+        }
+    }
+
+    /**
+     * 生成新的调解案号
+     * @url {ctx}/api/client/mediateUtils/createCaseNo
+     * @param area 区
+     * @return Object
+     */
+    public String createCaseNo(String area){
+        try{
+            ReturnBO returnBo = utilsClient.createCaseNo(area);
+            if (ReturnConsts.OK == returnBo.getCode()){
+                String caseNo = (String) returnBo.getData();
+                return caseNo;
+            }else{
+                log.error("Client外服务接口[UtilsClientImpl.createCaseNo]请求异常:" + returnBo.getMsg(), returnBo.getMsg());
+                throw new ClientException("UtilsClientImpl.createCaseNo", returnBo.getMsg());
+            }
+        }catch (Exception e){
+            log.error("service方法[UtilsClientImpl.createCaseNo]请求成功,处理异常:"+e, e);
+            throw new ServiceException("UtilsClientImpl.createCaseNo", e);
+        }
+    }
+
+    /**
+     * 生成新的事项编号
+     * @url {ctx}/common/api/caseNoUtils/createCaseRef
+     * @return Object
+     */
+    public String createCaseRef(){
+        try{
+            ReturnBO returnBo = utilsClient.createCaseRef();
+            if (ReturnConsts.OK == returnBo.getCode()){
+                String caseNo = (String) returnBo.getData();
+                return caseNo;
+            }else{
+                log.error("Client外服务接口[UtilsClientImpl.createCaseRef]请求异常:" + returnBo.getMsg(), returnBo.getMsg());
+                throw new ClientException("UtilsClientImpl.createCaseRef", returnBo.getMsg());
+            }
+        }catch (Exception e){
+            log.error("service方法[UtilsClientImpl.createCaseRef]请求成功,处理异常:"+e, e);
+            throw new ServiceException("UtilsClientImpl.createCaseRef", e);
+        }
+    }
+
+    /**
+     * 公共工具-sys服务id工具-获取时间Id,后四位常量
+     * @url {ctx}/api/client/sysUtils/getNewTimeId
+     * @return ReturnBO
+     */
+    public String getNewTimeSysId(){
+        try{
+            ReturnBO returnBo = utilsClient.getNewTimeSysId();
+            if (ReturnConsts.OK == returnBo.getCode()){
+                String id = (String) returnBo.getData();
+                return id;
+            }else{
+                log.error("Client外服务接口[UtilsClientImpl.getNewTimeSysId]请求异常:" + returnBo.getMsg(), returnBo.getMsg());
+                throw new ClientException("UtilsClientImpl.getNewTimeSysId", returnBo.getMsg());
+            }
+        }catch (Exception e){
+            log.error("service方法[UtilsClientImpl.getNewTimeSysId]请求成功,处理异常:"+e, e);
+            throw new ServiceException("UtilsClientImpl.getNewTimeSysId", e);
+        }
+    }
+
 }

--
Gitblit v1.8.0