|
@@ -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) {
|