From c45a96a34ec346258eb9d88f7478f74e245b8e8f Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 21 Feb 2024 11:25:48 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=89=BF=E8=AF=BA=E4=B9=A6=E3=80=81?= =?UTF-8?q?=E5=A7=94=E6=89=98=E4=B9=A6=E8=BD=AC=E5=8F=98=E5=BF=85=E4=BC=A0?= =?UTF-8?q?=202=E3=80=81bug=E4=BF=AE=E6=94=B9=EF=BC=88=E9=9B=86=E5=9B=A2?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=9F=A5=E7=9C=8B=E4=B8=8D=E5=88=B0=E5=BD=92?= =?UTF-8?q?=E5=B1=9E=E8=87=AA=E5=B7=B1=E7=9A=84=E7=9B=B8=E5=85=B3=E6=96=B9?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcloud/controller/xgf/XgfCorpController.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zcloud/controller/xgf/XgfCorpController.java b/src/main/java/com/zcloud/controller/xgf/XgfCorpController.java index d3e7835d..df71617d 100644 --- a/src/main/java/com/zcloud/controller/xgf/XgfCorpController.java +++ b/src/main/java/com/zcloud/controller/xgf/XgfCorpController.java @@ -42,13 +42,17 @@ public class XgfCorpController extends BaseController { public Object getCorpInfoList(Page page) throws Exception { PageData pd = new PageData(); pd = this.getPageData(); - pd.put("SUPERVISE_CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); - if (Jurisdiction.getIS_MAIN().equals("1")) { //主账号 - pd.put("SUPERVISE_DEPARTMENT_ID", ""); + if ("1e6dbbe16004402f8d2c0e52afd9a676,3a854eefa7894e06aaa1a2611bca80f6,020578a4c1f04bc692ee25145c2efbe5,90966974de3c4b83aca6f8fd6432d5c2".contains(Jurisdiction.getDEPARTMENT_ID())) { + pd.put("CORP_INFO_ID", Jurisdiction.getCORPINFO_ID()); } else { - pd.put("SUPERVISE_DEPARTMENT_ID", Jurisdiction.getDEPARTMENT_ID()); + pd.put("SUPERVISE_CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); + if (Jurisdiction.getIS_MAIN().equals("1")) { //主账号 + pd.put("SUPERVISE_DEPARTMENT_ID", ""); + } else { + pd.put("SUPERVISE_DEPARTMENT_ID", Jurisdiction.getDEPARTMENT_ID()); + } } - Map result = HttpClientService.doPost(url + "/api/corpinfo/list", pd); + Map result = HttpClientService.doPost(url + "/api/corpinfo/JiTuanTeShulist", pd); return result; }