MyBatis02:CRUD操作
摘要:
CRUD操作 namespace 这个是命名空间,不可缺少,更不能写错 配置文件中namespace中的名称为对应Mapper接口或者Dao接口的全限定类名,完整包名,必须一致! Select(用于查询的标签) 根据id查询用户 1、 在UserMapper中添加对应方法 public interf 阅读全文
posted @ 2021-04-12 21:49 JavaCoderPan 阅读(9) 评论(0) 推荐(0) 编辑