浏览代码

拖拽20181116

suochencheng 7 年之前
父节点
当前提交
af72f3a524

+ 3 - 1
src/main/java/com/izouma/awesomeadmin/dao/SysMenuMapper.xml

@@ -19,9 +19,11 @@
 		<result column="remarks" property="remarks" jdbcType="VARCHAR" />
 		<result column="del_flag" property="delFlag" jdbcType="CHAR" />
 		<result column="menu_type" property="menuType" jdbcType="CHAR" />
+		<result column="can_move" property="canMove" jdbcType="CHAR" />
 	</resultMap>
 	<sql id="Base_Column_List" >
-		 id, parent_id, parent_ids, name, sort, href, target, icon, is_show, permission, create_by, create_date, update_by, update_date, remarks, del_flag, menu_type
+		 id, parent_id, parent_ids, name, sort, href, target, icon, is_show, permission, create_by,
+		 create_date, update_by, update_date, remarks, del_flag, menu_type, can_move
 	</sql>
 	<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
 		select

+ 10 - 0
src/main/java/com/izouma/awesomeadmin/model/SysMenu.java

@@ -51,6 +51,8 @@ public class SysMenu implements Cloneable {
 
     private String menuType;
 
+    private String canMove;
+
     private List<SysMenu> children;
 
     public void setId(Integer id) {
@@ -220,5 +222,13 @@ public class SysMenu implements Cloneable {
         }
         return menu;
     }
+
+    public String getCanMove() {
+        return canMove;
+    }
+
+    public void setCanMove(String canMove) {
+        this.canMove = canMove;
+    }
 }