代码生成器支持直接使用字典

修复查询涉及sql关键字时sql语句报错问题
This commit is contained in:
QM303176530
2020-07-18 14:39:03 +08:00
parent de1d090c31
commit 41c4b8f0a5
3 changed files with 213 additions and 152 deletions

View File

@@ -79,6 +79,7 @@
<el-table-column prop="columnName" label="数据库字段" width="130"></el-table-column>
<el-table-column prop="comment" label="数据库字段描述" width="130"></el-table-column>
<el-table-column prop="fieldSearchType" label="搜索条件" width="130"></el-table-column>
<el-table-column prop="dictType" label="字典" width="130"></el-table-column>
<el-table-column label="操作" width="300">
<template slot-scope="scope">
<el-button
@@ -135,7 +136,8 @@ const fieldTemplate = {
columnName: "",
dataTypeLong: "",
comment: "",
fieldSearchType: ""
fieldSearchType: "",
dictType:""
};
import FieldDialog from "@/view/systemTools/autoCode/component/fieldDialog.vue";
@@ -332,7 +334,8 @@ export default {
dataTypeLong: item.dataTypeLong,
columnName: item.columeName,
comment: item.columeComment,
fieldSearchType: ""
fieldSearchType: "",
dictType:""
});
}
});