权限勾选必填

yun-zuoyi
zhang.xw 2 years ago
parent 25f6bebf94
commit e9aa50d303

@ -490,15 +490,4 @@ public class SysRoleController extends CrudBaseController<SysRole> {
return ImppExceptionBuilder.newInstance().buildExceptionResult(e);
}
}
public static void main(String[] args) {
String aa ="{\"roleId\":\"1161540710735032320\",\"softType\":3,\"menuIdList\":[]}";
JSONObject bb = (JSONObject) JSONObject.toJSON(aa);
SysRefRoleMenu sysRefRoleMenu = JSONObject.toJavaObject(bb, SysRefRoleMenu.class);
if (CollectionUtils.isEmpty(sysRefRoleMenu.getMenuIdList())) {
System.out.println(true);
}
}
}

Loading…
Cancel
Save