摘要:
1.添加配置文件 mybatis-config.xml EmployeeMapper.xml INSERT INTO employee(lastName,email,gender,d_id) ... 阅读全文
摘要:
第一步:配置druid数据源 第二步 创建mapper类 /** * Created by chengbx on 2018/6/29. */ @Mapper public interface DepartmentMapper { @Select("select * from department where id =#{id}") public Department ... 阅读全文