mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
update 售后日志
This commit is contained in:
parent
eaeb435459
commit
f492797fba
@ -32,10 +32,6 @@ import static java.util.Arrays.asList;
|
|||||||
@Aspect
|
@Aspect
|
||||||
public class AfterSaleLogAspect {
|
public class AfterSaleLogAspect {
|
||||||
|
|
||||||
private final static String OPERATE_TYPE = "operateType";
|
|
||||||
private final static String ID = "id";
|
|
||||||
private final static String CONTENT = "content";
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private AfterSaleLogService afterSaleLogService;
|
private AfterSaleLogService afterSaleLogService;
|
||||||
|
|
||||||
@ -90,23 +86,4 @@ public class AfterSaleLogAspect {
|
|||||||
content.append(afterSaleOperateTypeEnum.getDescription()).toString() : content.toString();
|
content.append(afterSaleOperateTypeEnum.getDescription()).toString() : content.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
// public static Map<String, Object> spelFormat(JoinPoint joinPoint, Object info) {
|
|
||||||
// MethodSignature signature = (MethodSignature) joinPoint.getSignature();
|
|
||||||
// AfterSaleLog afterSaleLogPoint = signature.getMethod().getAnnotation(AfterSaleLog.class);
|
|
||||||
// HashMap<String, Object> result = Maps.newHashMapWithExpectedSize(2);
|
|
||||||
// Map<String, Object> spelMap = SpringExpressionUtils.parseExpression(joinPoint, info,
|
|
||||||
// asList(afterSaleLogPoint.id(), afterSaleLogPoint.content()));
|
|
||||||
//
|
|
||||||
// // 售后ID
|
|
||||||
// result.put(ID, MapUtil.getLong(spelMap, afterSaleLogPoint.id()));
|
|
||||||
// // 操作类型
|
|
||||||
// result.put(OPERATE_TYPE, afterSaleLogPoint.operateType().getType());
|
|
||||||
// // 日志内容
|
|
||||||
// StringBuilder content = new StringBuilder().append(MapUtil.getStr(spelMap, afterSaleLogPoint.content()));
|
|
||||||
//
|
|
||||||
// result.put(CONTENT, ObjectUtil.isNotNull(afterSaleLogPoint.operateType()) ?
|
|
||||||
// content.append(afterSaleLogPoint.operateType().getDescription()).toString() : content.toString());
|
|
||||||
// return result;
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user