java 把字符串儿数组转为数字数组


    public int doFalseDelUser(String checkedId) {
        //把字符创数组转为数字数组
         String[] Id = checkedId.split(","); 
         int [] num=new int[Id.length];
         for(int i=0;i<num.length;i++){
              num[i]=Integer.parseInt(Id[i]);
           }  
        int LimitType= this.userDao.queryUserLimit(num);
        //判断是否是超级管理员
        if(LimitType!=1){
            return userDao.doFalseDelUser(checkedId.split(","));  
        }else{
            return 1;
        }
    }

    原文作者:川页乾
    原文地址: https://blog.csdn.net/m0_58780961/article/details/121493188
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞