Commit f492797fba881ccdffb11a624e79ccb7c3f988ca
1 parent
eaeb4354
update 售后日志
Showing
1 changed file
with
0 additions
and
23 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/framework/aftersalelog/core/aop/AfterSaleLogAspect.java
| @@ -32,10 +32,6 @@ import static java.util.Arrays.asList; | @@ -32,10 +32,6 @@ import static java.util.Arrays.asList; | ||
| 32 | @Aspect | 32 | @Aspect |
| 33 | public class AfterSaleLogAspect { | 33 | public class AfterSaleLogAspect { |
| 34 | 34 | ||
| 35 | - private final static String OPERATE_TYPE = "operateType"; | ||
| 36 | - private final static String ID = "id"; | ||
| 37 | - private final static String CONTENT = "content"; | ||
| 38 | - | ||
| 39 | @Resource | 35 | @Resource |
| 40 | private AfterSaleLogService afterSaleLogService; | 36 | private AfterSaleLogService afterSaleLogService; |
| 41 | 37 | ||
| @@ -90,23 +86,4 @@ public class AfterSaleLogAspect { | @@ -90,23 +86,4 @@ public class AfterSaleLogAspect { | ||
| 90 | content.append(afterSaleOperateTypeEnum.getDescription()).toString() : content.toString(); | 86 | content.append(afterSaleOperateTypeEnum.getDescription()).toString() : content.toString(); |
| 91 | } | 87 | } |
| 92 | 88 | ||
| 93 | - // public static Map<String, Object> spelFormat(JoinPoint joinPoint, Object info) { | ||
| 94 | - // MethodSignature signature = (MethodSignature) joinPoint.getSignature(); | ||
| 95 | - // AfterSaleLog afterSaleLogPoint = signature.getMethod().getAnnotation(AfterSaleLog.class); | ||
| 96 | - // HashMap<String, Object> result = Maps.newHashMapWithExpectedSize(2); | ||
| 97 | - // Map<String, Object> spelMap = SpringExpressionUtils.parseExpression(joinPoint, info, | ||
| 98 | - // asList(afterSaleLogPoint.id(), afterSaleLogPoint.content())); | ||
| 99 | - // | ||
| 100 | - // // 售后ID | ||
| 101 | - // result.put(ID, MapUtil.getLong(spelMap, afterSaleLogPoint.id())); | ||
| 102 | - // // 操作类型 | ||
| 103 | - // result.put(OPERATE_TYPE, afterSaleLogPoint.operateType().getType()); | ||
| 104 | - // // 日志内容 | ||
| 105 | - // StringBuilder content = new StringBuilder().append(MapUtil.getStr(spelMap, afterSaleLogPoint.content())); | ||
| 106 | - // | ||
| 107 | - // result.put(CONTENT, ObjectUtil.isNotNull(afterSaleLogPoint.operateType()) ? | ||
| 108 | - // content.append(afterSaleLogPoint.operateType().getDescription()).toString() : content.toString()); | ||
| 109 | - // return result; | ||
| 110 | - // } | ||
| 111 | - | ||
| 112 | } | 89 | } |