mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 代码生成菜单id匹配写法
This commit is contained in:
		@@ -162,7 +162,7 @@ public class GenTable extends BaseEntity {
 | 
			
		||||
     * 上级菜单ID字段
 | 
			
		||||
     */
 | 
			
		||||
    @TableField(exist = false)
 | 
			
		||||
    private String parentMenuId;
 | 
			
		||||
    private Long parentMenuId;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 上级菜单名称字段
 | 
			
		||||
 
 | 
			
		||||
@@ -558,7 +558,7 @@ public class GenTableServiceImpl implements IGenTableService {
 | 
			
		||||
            String treeCode = paramsObj.getStr(GenConstants.TREE_CODE);
 | 
			
		||||
            String treeParentCode = paramsObj.getStr(GenConstants.TREE_PARENT_CODE);
 | 
			
		||||
            String treeName = paramsObj.getStr(GenConstants.TREE_NAME);
 | 
			
		||||
            String parentMenuId = paramsObj.getStr(GenConstants.PARENT_MENU_ID);
 | 
			
		||||
            Long parentMenuId = paramsObj.getLong(GenConstants.PARENT_MENU_ID);
 | 
			
		||||
            String parentMenuName = paramsObj.getStr(GenConstants.PARENT_MENU_NAME);
 | 
			
		||||
 | 
			
		||||
            genTable.setTreeCode(treeCode);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user