dangsn
2024-12-03 d0ae279ff3b83358d1c07f4481a041c4ad335026
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());
            }