From 3b264b4c8074f919a63f589fb900ea1103ed42e7 Mon Sep 17 00:00:00 2001 From: erdanergou Date: Tue, 13 Jun 2023 09:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86LinkInterfaceUtil=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E4=B8=BAPublicConfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DepositoryRecordServiceImpl.java | 4 ++-- .../service/impl/StockTakingServiceImpl.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java b/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java index 9eb5cf06..1d45f83f 100644 --- a/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java +++ b/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java @@ -2144,9 +2144,9 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { // 获取主订单单号 StringBuilder code = new StringBuilder(record.getCode()); // 获取申请用户信息 - UserByPort applicantUser = LinkInterfaceUtil.FindUserById(record.getApplicantId(), userKey, token); + UserByPort applicantUser = PublicConfig.FindUserById(record.getApplicantId(), userKey, token); // 获取申请用户行政组织 - Administration company = LinkInterfaceUtil.getCompany(applicantUser.getMaindeparment(), userKey, token); + Administration company = PublicConfig.getCompany(applicantUser.getMaindeparment(), userKey, token); // 获取部门名称简写 String conpanyName = WordUtil.getPinYinHeadChar(company.getName()); // 获取仓库名称简写 diff --git a/src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java b/src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java index 39c98cd0..1ff0753b 100644 --- a/src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java +++ b/src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java @@ -561,7 +561,7 @@ public class StockTakingServiceImpl implements StockTakingService { // 抄送盘点调账记录给盘点人员 SendQyWxMessageThreadPool.execute(() -> { // 获取盘点人员 -// UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), userKey,token); +// UserByPort originator = PublicConfig.FindUserById(mainRecord.getOriginator(), userKey,token); // String workwechat = originator.getWorkwechat(); // if(workwechat == null || "".equals(workwechat)){ // workwechat = originator.getWechat(); @@ -1846,7 +1846,7 @@ public class StockTakingServiceImpl implements StockTakingService { if (normalMinId.size() > 0) { SendQyWxMessageThreadPool.execute(() -> { // 获取盘点人员 -// UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), userKey,token); +// UserByPort originator = PublicConfig.FindUserById(mainRecord.getOriginator(), userKey,token); // String workwechat = originator.getWorkwechat(); // if(workwechat == null || "".equals(workwechat)){ // workwechat = originator.getWechat();