public static String getSqlWhereWithValues(Map<String, Object> sqlWhereMap) throws SQLException {
		if (sqlWhereMap.size() < 1)
			return null;

		StringBuffer sqlWhere = new StringBuffer();//SQL语句

		Set<Entry<String, Object>> entrySets = sqlWhereMap.entrySet();

		for (Iterator<Entry<String, Object>> iteraotr = entrySets.iterator(); iteraotr.hasNext();) {

			Entry<String, Object> entrySet = iteraotr.next();

			Object value = entrySet.getValue();
			if (value.getClass() == String.class) {
				sqlWhere.append(entrySet.getKey()).append(" like ").append(StringPool.APOSTROPHE+entrySet.getValue()+StringPool.APOSTROPHE).append(" and ");
			}else if(value.getClass() == Date.class){
				sqlWhere.append(entrySet.getKey()).append(" = ").append(StringPool.APOSTROPHE +  entrySet.getValue()  + StringPool.APOSTROPHE).append(" and ");
			}
			else {
				sqlWhere.append(entrySet.getKey()).append(" = ").append(entrySet.getValue()).append(" and ");
			}
		}
		sqlWhere.delete(sqlWhere.lastIndexOf("and"), sqlWhere.length());
		
		return sqlWhere.toString();
	}