Commit ea27381f authored by mcb's avatar mcb

no message

parent 56261807
......@@ -146,10 +146,11 @@ public class SyncParameters extends AbstractParameters {
.append(" select ")
.append(" " + sourceField.substring(1) + " ")
.append(" from ")
.append(" " + registerTableName[0]);
.append(" $t ");
//.append(" " + registerTableName[0]);
sqlModel.put("sql", sql);
String table_name = registerTableName[0] + "_view";
sqlModel.put("table_name", table_name);
//String table_name = registerTableName[0] + "_view";
//sqlModel.put("table_name", table_name);
transform = transform + FreeMarkerUtils.freemakerJson(CommConstant.WATERDROP_FTL_TRANSFORM_SQL, sqlModel, freeMarkerConfig);
Map targetModel = new HashMap();
......@@ -157,7 +158,8 @@ public class SyncParameters extends AbstractParameters {
.append(" select ")
.append(" " + targetField.substring(1) + " ")
.append(" from ")
.append(" " + table_name);
.append(" $t ");
//.append(" " + table_name);
targetModel.put("sql", targetSql);
transform = transform + FreeMarkerUtils.freemakerJson(CommConstant.WATERDROP_FTL_TRANSFORM_SQL, targetModel, freeMarkerConfig);
//}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment