![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AOP
金麟十三少
擅长JAVA,系统架构设计
展开
-
org.springframework.aop.AopInvocationException: Null return value from advice does not match primiti
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public boolean com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.save(...原创 2019-05-31 09:22:38 · 9723 阅读 · 1 评论 -
自定义注解+AOP,实现日志拦截存储
这里我们介绍下使用自定义注解,加aop来实现日志的存储首先自定义注解import com.etc.mainboot.enums.BusinessType;import com.etc.mainboot.enums.OperatorType;import java.lang.annotation.*;/** * 操作日志记录处理 */@Documented@Target(...原创 2019-06-06 17:22:53 · 1100 阅读 · 0 评论