正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -93,7 +93,7 @@ public class GenTable extends BaseEntity | @@ -93,7 +93,7 @@ public class GenTable extends BaseEntity | ||
| 93 | private String treeName; | 93 | private String treeName; |
| 94 | 94 | ||
| 95 | /** 上级菜单ID字段 */ | 95 | /** 上级菜单ID字段 */ |
| 96 | - private String parentMenuId; | 96 | + private Long parentMenuId; |
| 97 | 97 | ||
| 98 | /** 上级菜单名称字段 */ | 98 | /** 上级菜单名称字段 */ |
| 99 | private String parentMenuName; | 99 | private String parentMenuName; |
| @@ -318,12 +318,12 @@ public class GenTable extends BaseEntity | @@ -318,12 +318,12 @@ public class GenTable extends BaseEntity | ||
| 318 | this.treeName = treeName; | 318 | this.treeName = treeName; |
| 319 | } | 319 | } |
| 320 | 320 | ||
| 321 | - public String getParentMenuId() | 321 | + public Long getParentMenuId() |
| 322 | { | 322 | { |
| 323 | return parentMenuId; | 323 | return parentMenuId; |
| 324 | } | 324 | } |
| 325 | 325 | ||
| 326 | - public void setParentMenuId(String parentMenuId) | 326 | + public void setParentMenuId(Long parentMenuId) |
| 327 | { | 327 | { |
| 328 | this.parentMenuId = parentMenuId; | 328 | this.parentMenuId = parentMenuId; |
| 329 | } | 329 | } |
| @@ -501,7 +501,7 @@ public class GenTableServiceImpl implements IGenTableService | @@ -501,7 +501,7 @@ public class GenTableServiceImpl implements IGenTableService | ||
| 501 | String treeCode = paramsObj.getString(GenConstants.TREE_CODE); | 501 | String treeCode = paramsObj.getString(GenConstants.TREE_CODE); |
| 502 | String treeParentCode = paramsObj.getString(GenConstants.TREE_PARENT_CODE); | 502 | String treeParentCode = paramsObj.getString(GenConstants.TREE_PARENT_CODE); |
| 503 | String treeName = paramsObj.getString(GenConstants.TREE_NAME); | 503 | String treeName = paramsObj.getString(GenConstants.TREE_NAME); |
| 504 | - String parentMenuId = paramsObj.getString(GenConstants.PARENT_MENU_ID); | 504 | + Long parentMenuId = paramsObj.getLongValue(GenConstants.PARENT_MENU_ID); |
| 505 | String parentMenuName = paramsObj.getString(GenConstants.PARENT_MENU_NAME); | 505 | String parentMenuName = paramsObj.getString(GenConstants.PARENT_MENU_NAME); |
| 506 | 506 | ||
| 507 | genTable.setTreeCode(treeCode); | 507 | genTable.setTreeCode(treeCode); |
-
请 注册 或 登录 后发表评论