use of org.sagacity.sqltoy.plugins.id.macro.impl.SqlLoop in project sagacity-sqltoy by chenrenfei.
the class SqlLoopTest method testParseParams.
@Test
public void testParseParams() {
SqlLoop sqlLoop = new SqlLoop();
String template = ":sqlToyLoopAsKey_0A.item=1 and name like '%:sqlToyLoopAsKey_0A.name%' :sqlToyLoopAsKey_0A.sexType名称 or :sqlToyLoopAsKey_0A.订单_名称_id";
Map<String, String[]> result = sqlLoop.parseParams(template);
System.err.println(JSON.toJSONString(result));
}
Aggregations