摘要: 只需要在Dao实现类中加入@Repositorypublic Class TestDaoImpl(){}在service层定义 @Autowired private TestDao testDao;不需要再写setDao方法就可以通过接口调用Dao了 在Service层加入@servicepubli 阅读全文
posted @ 2016-08-31 10:32 馳騁衿琾 阅读(133) 评论(0) 推荐(0)