alter table auth_permission_rule Add column isFrame TINYINT(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column isCache TINYINT(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column menuType TINYINT(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column visible TINYINT(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column perms varchar(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column icon varchar(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column remark varchar(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column path varchar(0) DEFAULT NULL COMMENT '';
alter table auth_permission_rule Add column queryParam varchar(0) DEFAULT NULL COMMENT '';



update set auth_permission_rule set isFrame = 1;
update set auth_permission_rule set visible = 1;
update set auth_permission_rule set menuType = 'C' WHERE pid<>'0';
update set auth_permission_rule set menuType = 'M' WHERE pid='0';
update set auth_permission_rule set path = name;
