摘要: JDK动态代理(必须要有接口,代理类和被代理类实现相同的接口) public class UserServiceJDKProxy { public static UserService createUserServiceJDKProxy(final UserService userService) 阅读全文
posted @ 2022-02-24 14:29 我也有梦想呀 阅读(144) 评论(0) 推荐(0)
摘要: 以前写的代码 mapper层 public interface PersonMapper { void selectPersonList(); } public class PersonMapperImpl implements PersonMapper { @Override public voi 阅读全文
posted @ 2022-02-24 10:33 我也有梦想呀 阅读(65) 评论(0) 推荐(0)