|
@ -474,7 +474,11 @@ public class OperationLogAspect { |
|
|
} |
|
|
} |
|
|
operLog.setOperName(loginUser.getUsername()); |
|
|
operLog.setOperName(loginUser.getUsername()); |
|
|
operLog.setOperLocation(loginUser.getLoginLocation()); |
|
|
operLog.setOperLocation(loginUser.getLoginLocation()); |
|
|
operLog.setOperType(UniversalEnum.TWO.getValue()); |
|
|
if (devices.size() > UniversalEnum.ONE.getNumber()) { |
|
|
|
|
|
operLog.setOperType(UniversalEnum.TWO.getValue()); |
|
|
|
|
|
} else { |
|
|
|
|
|
operLog.setOperType(UniversalEnum.ZERO.getValue()); |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
operLog.setOperName(UniversalEnum.SERVER.getValue()); |
|
|
operLog.setOperName(UniversalEnum.SERVER.getValue()); |
|
|
operLog.setDeptName(UniversalEnum.SERVER.getValue()); |
|
|
operLog.setDeptName(UniversalEnum.SERVER.getValue()); |
|
|