if(fieldValue instanceof String) {
fieldValue = "\'" + fieldValue + "\'";
}
stringBuilder.append(" and ").append(filedName).append("=").append(fieldValue);
×:这样加单引号是不是更健康?
fieldValue = "\'" + fieldValue + "\'";
}
stringBuilder.append(" and ").append(filedName).append("=").append(fieldValue);
×:这样加单引号是不是更健康?
2017-08-25