|  | @@ -100,8 +100,8 @@ public interface MenuMapper {
 | 
	
		
			
				|  |  |              "<when test='name!=null'>",
 | 
	
		
			
				|  |  |              ",name =#{name,jdbcType=VARCHAR}",
 | 
	
		
			
				|  |  |              "</when>",
 | 
	
		
			
				|  |  | -            "<when test='parentId!=null'>",
 | 
	
		
			
				|  |  | -            ",parent_id =#{parentId,jdbcType=BIGINT}",
 | 
	
		
			
				|  |  | +            "<when test='parentId!=null and parentId==-1 '>",
 | 
	
		
			
				|  |  | +            ",parent_id =null",
 | 
	
		
			
				|  |  |              "</when>",
 | 
	
		
			
				|  |  |              "<when test='classCode!=null'>",
 | 
	
		
			
				|  |  |              ",class_code =#{classCode,jdbcType=VARCHAR}",
 |