try {
IbatisSqlMapConfigParser ibatisSqlMapConfigParser = new IbatisSqlMapConfigParser();
String sqlString = ibatisSqlMapConfigParser.parse(op.getSql(),toMap(table.includeSqls));
String namedSql = SqlParseHelper.convert2NamedParametersSql(sqlString,":",""); // TODO 确认要删除本行?,因为与SqlFactory里面的代码重复
Sql sql = new SqlFactory().parseSql(namedSql);
sql.setSqlSegments(ibatisSqlMapConfigParser.getSqlSegments());
LinkedHashSet<SqlParameter> finalParameters = addExtraParams2SqlParams(op.getExtraparams(), sql);
sql.setParams(finalParameters);
sql.setColumns(processWithCustomColumns(getCustomColumns(table),sql.getColumns()));