m.appendReplacement(sb, "");
}else {
String includeValue = includeSqls.get(refid);
if(includeValue == null) throw new IllegalArgumentException("not found include sql by <include refid='"+refid+"'/>");
String parsedIncludeValue = parse(includeValue,includeSqls);
usedIncludedSqls.put(refid, new SqlSegment(refid,includeValue,parsedIncludeValue));
StringHelper.appendReplacement(m, sb, parsedIncludeValue);
}
}