diff --git a/zc-business/src/main/java/com/zc/business/interfaces/OperationLogAspect.java b/zc-business/src/main/java/com/zc/business/interfaces/OperationLogAspect.java index 19b1bdd8..e4d4d519 100644 --- a/zc-business/src/main/java/com/zc/business/interfaces/OperationLogAspect.java +++ b/zc-business/src/main/java/com/zc/business/interfaces/OperationLogAspect.java @@ -474,7 +474,11 @@ public class OperationLogAspect { } operLog.setOperName(loginUser.getUsername()); 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 { operLog.setOperName(UniversalEnum.SERVER.getValue()); operLog.setDeptName(UniversalEnum.SERVER.getValue());