|
@ -3,6 +3,7 @@ package org.dromara.common.core.utils; |
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
import cn.hutool.core.map.MapUtil; |
|
|
import cn.hutool.core.map.MapUtil; |
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
|
|
import cn.hutool.core.convert.Convert; |
|
|
import io.github.linpeilie.Converter; |
|
|
import io.github.linpeilie.Converter; |
|
|
import lombok.AccessLevel; |
|
|
import lombok.AccessLevel; |
|
|
import lombok.NoArgsConstructor; |
|
|
import lombok.NoArgsConstructor; |
|
@ -35,7 +36,7 @@ public class MapstructUtils { |
|
|
if (ObjectUtil.isNull(desc)) { |
|
|
if (ObjectUtil.isNull(desc)) { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
return CONVERTER.convert(source, desc); |
|
|
return Convert.convert( desc,source); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|