提交 cf5d36e3 authored 作者: ww1xhqc's avatar ww1xhqc

[数据模型] 去除无意bug

上级 3746b342
......@@ -127,7 +127,7 @@ public class ModelImpl implements ModelService {
List<ColumnVO> dataList = tableVO.getDataList();
TableInfo tableInfo = new TableInfo();
tableInfo.setName(tableVO.getModelName() + "_");
tableInfo.setName(tableVO.getModelName());
tableInfo.setCnName(tableVO.getModelTitle());
tableInfo.setXml(xmlMapping);
tableInfo.setModelType(tableVO.getModelType());
......@@ -248,7 +248,7 @@ public class ModelImpl implements ModelService {
TableVO tableVO = new TableVO();
String className = getClassName(aClass.toString());
//入表真实名称
String realName = className.toLowerCase() + "_model_test";
String realName = className.toLowerCase();
tableVO.setModelName(realName);
//获得类中文描述
if (aClass.isAnnotationPresent(ApiModel.class)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论