摘要:
实体类 package org.example.entity; import java.util.List; public class Dept { private Integer deptId; private String deptName; private List<Emp> emps; pu 阅读全文
摘要:
mybatis懒加载全局配置 <settings> <setting name="mapUnderscoreToCamelCase" value="true"/> <!--开启懒加载(开启延迟加载)--> <setting name="lazyLoadingEnabled" value="true" 阅读全文