摘要: ##1. 编写Mapper接口 /** * 查看详情,通过id查询 */ Brand selectById(int id); ##2. 编写sql语句,sql映射文件 <select id="selectById" resultMap="brandResultMap"> select * from 阅读全文
posted @ 2022-03-29 21:16 长情c 阅读(1175) 评论(0) 推荐(0)