From ac0cca1bd6ed72a96137273fa067910dfc64a5ce Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期一, 09 九月 2024 14:26:04 +0800 Subject: [PATCH] 修改日志操作 --- src/main/java/com/whyc/aop/OperationLogAspect.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/whyc/aop/OperationLogAspect.java b/src/main/java/com/whyc/aop/OperationLogAspect.java index 5512fa3..067c8ba 100644 --- a/src/main/java/com/whyc/aop/OperationLogAspect.java +++ b/src/main/java/com/whyc/aop/OperationLogAspect.java @@ -139,20 +139,20 @@ type1 = OperationLogEnum.TYPE_1_SERVICE.getType(); if(methodName.startsWith("set")){ if(methodName.contains("Pl")){ - type2 = OperationLogEnum.TYPE_3_ACTM_SETPARAMPL.getType(); - operationTypeName = OperationLogEnum.TYPE_3_ACTM_SETPARAMPL.getName(); + type2 = OperationLogEnum.TYPE_2_ACTM_SETPARAMPL.getType(); + operationTypeName = OperationLogEnum.TYPE_2_ACTM_SETPARAMPL.getName(); }else{ - type2 = OperationLogEnum.TYPE_3_ACTM_SETPARAM.getType(); - operationTypeName = OperationLogEnum.TYPE_3_ACTM_SETPARAM.getName(); + type2 = OperationLogEnum.TYPE_2_ACTM_SETPARAM.getType(); + operationTypeName = OperationLogEnum.TYPE_2_ACTM_SETPARAM.getName(); } } if(methodName.startsWith("controll")){ if(methodName.contains("Pl")){ - type2 = OperationLogEnum.TYPE_3_ACTM_CONTROLLPL.getType(); - operationTypeName = OperationLogEnum.TYPE_3_ACTM_CONTROLLPL.getName(); + type2 = OperationLogEnum.TYPE_2_ACTM_CONTROLLPL.getType(); + operationTypeName = OperationLogEnum.TYPE_2_ACTM_CONTROLLPL.getName(); }else{ - type2 = OperationLogEnum.TYPE_3_ACTM_CONTROLL.getType(); - operationTypeName = OperationLogEnum.TYPE_3_ACTM_CONTROLL.getName(); + type2 = OperationLogEnum.TYPE_2_ACTM_CONTROLL.getType(); + operationTypeName = OperationLogEnum.TYPE_2_ACTM_CONTROLL.getName(); } } } -- Gitblit v1.9.1