日志功能处理

master
shijie 4 years ago
parent 5b7507266b
commit 12e74b0650
  1. 2
      dq-framework-common/src/main/java/com/daqing/framework/aspect/SysLogAspect.java

@ -70,7 +70,7 @@ public class SysLogAspect {
UserEntity systemUser = JSON.parseObject(userEntityStr,UserEntity.class);
//根据userId查询工号以及员工姓名
if(userId !=null || userId != ""){
if(userId !=null && userId != ""){
EmployeeEntity employeeEntity = hrmsFeignService.getEmpmsgById(Long.valueOf(userId));
operation.addOperationLog(joinPoint,res,time,systemUser,employeeEntity);
}

Loading…
Cancel
Save