修复自定义sql方法bug

jingwei
wangxuanran 2023-05-12 15:55:33 +08:00
parent a0bc9c30b9
commit ce90fa1def
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}
}
}