提交 8ac4fe41 编写于 作者: tangyaolong's avatar tangyaolong

修复get后附加逻辑没有对出参做出处理问题

上级 97fe1806
......@@ -104,6 +104,9 @@ public class DELogicAspect {
if (entity != null) {
executeBeforeLogic(entity, action);
Object result = point.proceed();
if("get".equalsIgnoreCase(action) && result instanceof EntityBase){
entity = (EntityBase) result;
}
executeLogic(entity, action);
executeAfterLogic(entity, action);
return result;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册