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; }