修复自定义sql方法bug
parent
a0bc9c30b9
commit
ce90fa1def
|
@ -5,6 +5,7 @@ import com.google.common.base.Strings;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.apache.commons.collections.MapUtils;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import weaver.conn.RecordSet;
|
import weaver.conn.RecordSet;
|
||||||
|
@ -670,7 +671,7 @@ public class DealWithMapping extends ToolUtil {
|
||||||
} else {
|
} else {
|
||||||
tempValue = Util.null2String(mainMap.get(fieldName));
|
tempValue = Util.null2String(mainMap.get(fieldName));
|
||||||
if ("".equals(tempValue)) {
|
if ("".equals(tempValue)) {
|
||||||
tempValue = Util.null2String(detailMap.get(fieldNameLower));
|
tempValue = Util.null2String(mainMap.get(fieldNameLower));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue