From c8182e8da67493a30433b9b49a99fda9a8b13b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=8E?= <125556714+Topfunplus@users.noreply.github.com> Date: Tue, 3 Jun 2025 18:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=84=E7=BB=87=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=96=B9=E6=B3=95=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 HttpPostOtherSysImpl 类中的静态方法 checkIfIncludeOrg改为非静态方法 - 在 IHttpPostOtherSys 接口中添加新的 checkIfIncludeOrg 方法 --- .../nccloud/pubift/commen/impl/utils/HttpPostOtherSysImpl.java | 2 +- .../nccloud/pubift/commen/itf/utils/IHttpPostOtherSys.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ic/src/private/nccloud/pubift/commen/impl/utils/HttpPostOtherSysImpl.java b/ic/src/private/nccloud/pubift/commen/impl/utils/HttpPostOtherSysImpl.java index b4dcc67..f0f76b8 100644 --- a/ic/src/private/nccloud/pubift/commen/impl/utils/HttpPostOtherSysImpl.java +++ b/ic/src/private/nccloud/pubift/commen/impl/utils/HttpPostOtherSysImpl.java @@ -131,7 +131,7 @@ public class HttpPostOtherSysImpl implements IHttpPostOtherSys { /** * 鵱ǰ֯ǷΪ */ - public static boolean checkIfIncludeOrg(String code) throws BusinessException { + public boolean checkIfIncludeOrg(String code) throws BusinessException { //ǰԱBIPʱ ֱreturn ͬMESҵ߼ String targetCode = SysParaInitQuery.getParaString("GLOBLE00000000000000", "INCLUDEORG"); if (targetCode == null || StringUtils.isEmpty(targetCode)) { diff --git a/ic/src/public/nccloud/pubift/commen/itf/utils/IHttpPostOtherSys.java b/ic/src/public/nccloud/pubift/commen/itf/utils/IHttpPostOtherSys.java index e63f1fb..77dacb0 100644 --- a/ic/src/public/nccloud/pubift/commen/itf/utils/IHttpPostOtherSys.java +++ b/ic/src/public/nccloud/pubift/commen/itf/utils/IHttpPostOtherSys.java @@ -26,4 +26,6 @@ public interface IHttpPostOtherSys { public void sendToExternalSystem(String apiPaht, Map requestData) throws BusinessException; public boolean checkIfExcludeUser(); + + public boolean checkIfIncludeOrg(String code) throws BusinessException; }