正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -128,9 +128,9 @@ public class GenTableServiceImpl implements IGenTableService | @@ -128,9 +128,9 @@ public class GenTableServiceImpl implements IGenTableService | ||
| 128 | int row = genTableMapper.updateGenTable(genTable); | 128 | int row = genTableMapper.updateGenTable(genTable); |
| 129 | if (row > 0) | 129 | if (row > 0) |
| 130 | { | 130 | { |
| 131 | - for (GenTableColumn cenTableColumn : genTable.getColumns()) | 131 | + for (GenTableColumn genTableColumn : genTable.getColumns()) |
| 132 | { | 132 | { |
| 133 | - genTableColumnMapper.updateGenTableColumn(cenTableColumn); | 133 | + genTableColumnMapper.updateGenTableColumn(genTableColumn); |
| 134 | } | 134 | } |
| 135 | } | 135 | } |
| 136 | } | 136 | } |
| @@ -424,6 +424,7 @@ public class GenTableServiceImpl implements IGenTableService | @@ -424,6 +424,7 @@ public class GenTableServiceImpl implements IGenTableService | ||
| 424 | { | 424 | { |
| 425 | throw new ServiceException("树名称字段不能为空"); | 425 | throw new ServiceException("树名称字段不能为空"); |
| 426 | } | 426 | } |
| 427 | + } | ||
| 427 | else if (GenConstants.TPL_SUB.equals(genTable.getTplCategory())) | 428 | else if (GenConstants.TPL_SUB.equals(genTable.getTplCategory())) |
| 428 | { | 429 | { |
| 429 | if (StringUtils.isEmpty(genTable.getSubTableName())) | 430 | if (StringUtils.isEmpty(genTable.getSubTableName())) |
| @@ -436,7 +437,6 @@ public class GenTableServiceImpl implements IGenTableService | @@ -436,7 +437,6 @@ public class GenTableServiceImpl implements IGenTableService | ||
| 436 | } | 437 | } |
| 437 | } | 438 | } |
| 438 | } | 439 | } |
| 439 | - } | ||
| 440 | 440 | ||
| 441 | /** | 441 | /** |
| 442 | * 设置主键列信息 | 442 | * 设置主键列信息 |
-
请 注册 或 登录 后发表评论