public String add(Object o,String tableName) throws Exception {
		Class c = o.getClass();
		Field[] fs = c.getDeclaredFields();
		StringBuffer sql = new StringBuffer();
		sql.append("insert into " + tableName);
		StringBuffer sql_name = new StringBuffer();
		StringBuffer sql_value = new StringBuffer();
		for (Field f : fs) {
//			 Accessable属性是继承自AccessibleObject 类. 功能是启用或禁用安全检查  https://www.cnblogs.com/jayus/p/11384896.html
			f.setAccessible(true);
			String fieldName = f.getName();
			if ("id".equals(fieldName)) {

			}else if("serialVersionUID".equals(fieldName)){

			} else {
				if ("String".equals(f.getType().getSimpleName())) {
					sql_name.append(fieldName.toLowerCase() + ",");
					String fd="";
					if(f.get(o)!=null){
						fd = (String) f.get(o);
					}
					sql_value.append("'" + fd + "'" + ",");
				} else {
					sql_name.append(f.getName().toLowerCase() + ",");
					sql_value.append(f.get(o) + ",");
				}
			}
		}
		String names = sql_name.toString().substring(0, sql_name.length() - 1);
		String values = sql_value.toString().substring(0,sql_value.length() - 1);
		sql.append("(").append(names).append(")").append(" ").append("values(").append(values).append(");");
		System.out.println("update sql:"+sql);
		return sql.toString();
	}