diff --git a/src/main/java/weaver/xiao/commons/config/service/DealWithMapping.java b/src/main/java/weaver/xiao/commons/config/service/DealWithMapping.java index a9af287..e9b168e 100644 --- a/src/main/java/weaver/xiao/commons/config/service/DealWithMapping.java +++ b/src/main/java/weaver/xiao/commons/config/service/DealWithMapping.java @@ -5,6 +5,7 @@ import com.google.common.base.Strings; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; +import org.apache.commons.collections.MapUtils; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import weaver.conn.RecordSet; @@ -670,7 +671,7 @@ public class DealWithMapping extends ToolUtil { } else { tempValue = Util.null2String(mainMap.get(fieldName)); if ("".equals(tempValue)) { - tempValue = Util.null2String(detailMap.get(fieldNameLower)); + tempValue = Util.null2String(mainMap.get(fieldNameLower)); } } }