|
@@ -449,6 +449,8 @@ public class CodegenEngine {
|
|
|
Map<String, Object> bindingMap = new HashMap<>(globalBindingMap);
|
|
|
bindingMap.put("table", table);
|
|
|
bindingMap.put("columns", columns);
|
|
|
+ //$ 特殊处理
|
|
|
+ bindingMap.put("myf", "$");
|
|
|
bindingMap.put("primaryColumn", CollectionUtils.findFirst(columns, CodegenColumnDO::getPrimaryKey)); // 主键字段
|
|
|
bindingMap.put("sceneEnum", CodegenSceneEnum.valueOf(table.getScene()));
|
|
|
|