摘要: DAO层编写接口,数据持久层使用mybaties ,resources下构建mapper文件夹,在配置文件中添加 mapperLocations: classpath:mapper/*.xml 自动扫描改位置下xml文件,在mapper文件夹中编写映射文件(调用数据库CRUD操作) 1,在DAO层上 阅读全文
posted @ 2020-07-10 21:46 终南93 阅读(187) 评论(0) 推荐(0) 编辑