首页 > 其他 > 详细

remove使用

时间:2018-09-18 18:32:25      阅读:225      评论:0      收藏:0      [点我收藏+]
        // 根据付款确认书ID获取核心企业Id,签约主体Id,金融机构Id 查询业务审核项目定义表
        List<Record> approvefileList = this.listApproveDefine(controller);
        // 调用筛选的方法
        approvefileList = controller.getListShow(approvefileList, uuid);

        for (Record otherFile : otherFileList) {
            // 获取文件的id
            String otherFileDocumentId = otherFile.getStr("documentId");
            // 便利
            for (Record approvefile : approvefileList) {
                // 如果2个id相同,则把它移除。
                if (otherFileDocumentId.equals(approvefile.get("fileId").toString())) {
                    otherFile.remove();
                }
            }
        }

 

remove使用

原文:https://www.cnblogs.com/xiaowoniulx/p/9670156.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!