摘要: 1.添加配置文件 mybatis-config.xml EmployeeMapper.xml INSERT INTO employee(lastName,email,gender,d_id) ... 阅读全文
posted @ 2018-06-29 18:28 猴子特种兵 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 第一步:配置druid数据源 第二步 创建mapper类 /** * Created by chengbx on 2018/6/29. */ @Mapper public interface DepartmentMapper { @Select("select * from department where id =#{id}") public Department ... 阅读全文
posted @ 2018-06-29 16:29 猴子特种兵 阅读(450) 评论(0) 推荐(0) 编辑