12 2020 档案

摘要:public class TestMP { private ApplicationContext ioc = new ClassPathXmlApplicationContext("applicationContext.xml"); private UserMapper userMapper = i 阅读全文
posted @ 2020-12-22 14:44 TIMEAWAY 阅读(876) 评论(0) 推荐(0)
摘要:@Test public void getUser() { User user = userMapper.selectById(1); System.out.println("user:" + user); } A、userMapper的本质是org.apache.ibatis.binding.Ma 阅读全文
posted @ 2020-12-17 14:57 TIMEAWAY 阅读(521) 评论(0) 推荐(0)