public class MapperUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger
定义日志
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Serializable> |
map(Page sourcePage,
Class<T> resultType,
String... ignoreProperties) |
static <T extends Serializable> |
map(Serializable source,
Class<T> resultType,
String... ignoreProperties) |
static <T extends Serializable> |
mapList(List sourceList,
Class<T> resultType,
String... ignoreProperties) |
public static <T extends Serializable> T map(Serializable source, Class<T> resultType, String... ignoreProperties) throws RuntimeException
RuntimeExceptionpublic static <T extends Serializable> List<T> mapList(List sourceList, Class<T> resultType, String... ignoreProperties) throws RuntimeException
RuntimeExceptionpublic static <T extends Serializable> Page<T> map(Page sourcePage, Class<T> resultType, String... ignoreProperties)
Copyright © 2023. All rights reserved.