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/client/api/impl/UtilsClientImpl.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 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 94b9048..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 @@ -114,4 +114,25 @@ } } + /** + * 公共工具-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