修改代码生成器
This commit is contained in:
parent
971f9a3e66
commit
8ae89b8c31
|
|
@ -241,7 +241,7 @@ public class GenerateServiceImpl implements IGenerateService {
|
|||
model.setSubTableName(genParam.getSubTableName().replace(GlobalConfig.tablePrefix, ""));
|
||||
genTableMapper.updateById(model);
|
||||
|
||||
for (Map<String, String> item : genParam.getColumns()) {
|
||||
for (Map<String, String> item : genParam.getColumn()) {
|
||||
Integer id = Integer.parseInt(item.get("id"));
|
||||
GenTableColumn column = genTableColumnMapper.selectById(id);
|
||||
column.setColumnComment(item.get("columnComment"));
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public class GenParam implements Serializable {
|
|||
@Length(max = 200, message = "生成代码路径不能大于200个字符")
|
||||
private String genPath = "/";
|
||||
|
||||
private List<Map<String, String>> columns = new ArrayList<>();
|
||||
private List<Map<String, String>> column = new ArrayList<>();
|
||||
|
||||
private String treePrimary = "";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue