From c65c0b31e6dfd01db744a450dda3816f65eebbc1 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 05 十二月 2024 11:41:10 +0800
Subject: [PATCH] 1、修改使用当前用户的类型查询用户接口,可以传入用户类型。 2、增加根据用户主键获取关联的部门接口。 3、增加查询授权结果接口。 4、增加查询业务对象接口。

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java
index 0ea5c4b..487f070 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java
@@ -1,9 +1,9 @@
 package com.vci.web.service.impl;
 
+import com.vci.bo.VciLogObjectBO;
 import com.vci.corba.common.data.UserEntityInfo;
 import com.vci.starter.web.pagemodel.SessionInfo;
 import com.vci.starter.web.util.WebThreadLocalUtil;
-import com.vci.web.bo.VciLogObjectBO;
 import com.vci.web.service.WebLogServiceI;
 import com.vci.web.util.PlatformClientUtil;
 import com.vci.web.util.WebUtil;
@@ -41,7 +41,7 @@
 	@Override
 	public void addOperateLog(VciLogObjectBO logObject) {
 		//VCIInvocationInfo vcii = WebThreadLocalUtil.getCurrentUserInvocationInfoInThread().get();
-		SessionInfo si = WebThreadLocalUtil.getCurrentUserSessionInfoInThread().get();
+		SessionInfo si = WebThreadLocalUtil.getCurrentUserSessionInfoInThread();
 		if(si!=null){
 			logObject.setUserId(si.getUserId());
 			logObject.setUserName(si.getUserName());
@@ -91,7 +91,7 @@
 				UserEntityInfo ue = new UserEntityInfo();
 				ue.modules = log.getModelName();
 				ue.userName = log.getUserId();
-				WebThreadLocalUtil.getCurrentUserSessionInfoInThread().set(si);
+				WebThreadLocalUtil.setCurrentUserSessionInfoInThread(si);
 				if(log.isDebug()){
 					log.setDescription(log.getDescription() + "," + log.getController() + "/" + log.getMethod());
 				}

--
Gitblit v1.9.3