From 657a40a8292d295b844a7ac6d272d3dea3a50426 Mon Sep 17 00:00:00 2001 From: zengweihai Date: Fri, 29 Nov 2024 17:48:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E5=8A=9F=E8=83=BD=E6=94=B9?= =?UTF-8?q?=E7=94=A8=E7=B3=BB=E7=BB=9F=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=E5=92=8C=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repc/recon/formplugin/ReconPayreqFormPlugin.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java index 71783d4..71cd138 100644 --- a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java @@ -726,11 +726,11 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF String password = System.getProperty("oaFPPassword"); String loginName = "test";//测试使用test用户 //正式环境使用 -// Long userId = UserServiceHelper.getCurrentUserId(); -// DynamicObject bos_user = BusinessDataServiceHelper.loadSingle(userId, "bos_user"); -// if (bos_user != null){ -// loginName = bos_user.getString("number"); -// } + Long userId = UserServiceHelper.getCurrentUserId(); + DynamicObject bos_user = BusinessDataServiceHelper.loadSingle(userId, "bos_user"); + if (bos_user != null){ + loginName = bos_user.getString("number"); + } String oaUrl = System.getProperty("oaurl"); logger.info("密钥接口:mc获取的oaUrl:\n{}", oaUrl); String linkUrl =oaUrl+ "/seeyon/rest/token";