Class Relation
java.lang.Object
com.github.yulichang.extension.mapping.relation.Relation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>list(List<T> data, int currDeep, DeepConfig<T> config) static <R,T, E> void mpjBindData(R t, MPJTableFieldInfo fieldInfo, List<?> joinList, int currDeep, DeepConfig<T> config) static <R,T> R mpjGetRelation(R r, DeepConfig<T> config) 通过注解实现单表多次查询static <T> Tone(T t, int currDeep, DeepConfig<T> config) 查询映射关系
对结果进行二次查询
可以自行查询然后在通过此方法进行二次查询
list为null或空,会查询全部映射关系
-
Constructor Details
-
Relation
public Relation()
-
-
Method Details
-
mpjGetRelation
通过注解实现单表多次查询- Parameters:
r- BaseMapper执行结果config- 映射配置- See Also:
-
EntityMappingFieldMapping
-
list
-
one
查询映射关系
对结果进行二次查询
可以自行查询然后在通过此方法进行二次查询
list为null或空,会查询全部映射关系- Parameters:
t- 第一次查询结果
-
mpjBindData
public static <R,T, void mpjBindDataE> (R t, MPJTableFieldInfo fieldInfo, List<?> joinList, int currDeep, DeepConfig<T> config)
-