From ddff1ced1edd09b5c8735985a268552361d0e6eb Mon Sep 17 00:00:00 2001 From: erdanergou Date: Wed, 26 Jul 2023 08:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dreamchaser/depository_manage/config/PublicConfig.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/dreamchaser/depository_manage/config/PublicConfig.java b/src/main/java/com/dreamchaser/depository_manage/config/PublicConfig.java index 01fd3ea7..fa988b8d 100644 --- a/src/main/java/com/dreamchaser/depository_manage/config/PublicConfig.java +++ b/src/main/java/com/dreamchaser/depository_manage/config/PublicConfig.java @@ -62,6 +62,12 @@ public class PublicConfig { userByPortList.add(userByPort); return userByPortList; } + if (Long.compare(maindeparment, 111) == 0) { + // 如果申请人部门为仓储 + UserByPort userByPort = FindUserById(3604L, userKey, userToken); + userByPortList.add(userByPort); + return userByPortList; + } String url = PublicConfig.external_url + "/staff/archiveslist"; Map map = new HashMap<>(); map.put("adminorg", maindeparment);