xiejun
2024-09-04 ac3f3629a261770f573f27e5e23f7ec19d096c2a
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/WebLogServiceImpl.java
@@ -3,7 +3,7 @@
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.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());
            }