随笔分类 - SpringBoot
摘要: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 ...
阅读全文
摘要:第一步,在pom.xml文件中导入druid的文件信息 <!-- https://mvnrepository.com/artifact/com.alibaba/druid --> <dependency> <groupId>com.alibaba</groupId> <artifactId>drui
阅读全文

浙公网安备 33010602011771号