public SqlPara getSqlParaByString(String content, Map data) {
		Template template = engine.getTemplateByString(content);
		
		SqlPara sqlPara = new SqlPara();
		data.put(SQL_PARA_KEY, sqlPara);
		sqlPara.setSql(template.renderToString(data));
		data.remove(SQL_PARA_KEY);	// 避免污染传入的 Map
		return sqlPara;
	}
public SqlPara getSqlParaByString ( String content , Map data ) { Template template = engine . getTemplateByString ( content ) ; SqlPara sqlPara = new SqlPara ( ) ; data . put ( SQL_PARA_KEY , sqlPara ) ; sqlPara . setSql ( template . renderToString ( data ) ) ; data . remove ( SQL_PARA_KEY ) ; return sqlPara ; }
通过 String 内容获取 SqlPara 对象

<pre>
例子：
String content = "select * from user where id = #para(id)";
SqlPara sqlPara = getSqlParaByString(content, Kv.by("id", 123));

特别注意：content 参数中不能包含 #sql 指令
</pre>