Ver código fonte

部门名称

buzhanyi 2 anos atrás
pai
commit
e312080396

+ 1 - 1
base-framework/src/main/java/com/ozs/framework/aspectj/LogAspect.java

@@ -82,7 +82,7 @@ public class LogAspect {
             operLog.setOperUrl(StringUtils.substring(ServletUtils.getRequest().getRequestURI(), 0, 255));
             if (loginUser != null) {
                 operLog.setUserId(loginUser.getUsername());
-                operLog.setDeptName(deptService.getById(loginUser.getDeptId()).getDeptName());
+                operLog.setDeptName(deptService.selectDeptById(loginUser.getDeptId()).getDeptName());
             }
 
             if (e != null) {