|
|
|
@ -79,11 +79,14 @@ public class SysLogAspect { |
|
|
|
|
UserEntity systemUser = JSON.parseObject(userEntityStr,UserEntity.class); |
|
|
|
|
|
|
|
|
|
//根据userId查询工号以及员工姓名
|
|
|
|
|
if(userId !=null || userId != ""){ |
|
|
|
|
EmployeeEntity employeeEntity = hrmsFeignService.getEmpmsgById(Long.valueOf(userId)); |
|
|
|
|
operation.addOperationLog(joinPoint,res,time,systemUser,employeeEntity); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//Token userToken = tokenService.getOne(new QueryWrapper<Token>().eq("token", token));
|
|
|
|
|
//UserEntity systemUser = userLoginService.getOne(new QueryWrapper<UserEntity>().eq("id",userId));
|
|
|
|
|
operation.addOperationLog(joinPoint,res,time,systemUser,employeeEntity); |
|
|
|
|
//operation.addOperationLog(joinPoint,res,time,systemUser,employeeEntity);
|
|
|
|
|
//方法执行完成后增加日志
|
|
|
|
|
// addOperationLog(joinPoint, res, time);
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|