zoukankan      html  css  js  c++  java
  • 双层for循环 out用法

       if(illegalInfoList != null && !illegalInfoList.isEmpty()){
        out:for(Illegal illegalInfo : illegalInfoList){//违章记录表中数据在违章信息列表中是否存在
         for(IllegalLists illegal : illegalLists){
          if(UtilTimeFormatter.ymdhmsCompareTo(UtilTimeFormatter.getTimeToYMDHMS(illegalInfo.getIllegaldate()), illegal.getDate())){//违章时间是否相同
           continue out;//执行此操作时候跳到上层循环里
          }
         }
         ids.add(illegalInfo.getId());
         
        }
        if(!ids.isEmpty()){
         illegalTaskMapper.updateOrderIllegalStatus1(ids);
         serviceEventMapper.updateServiceEventResult(ids);//更新客服违章记录表
        }
         
       }

  • 相关阅读:
    JS异错面试题
    CSG
    OBS工具汇总
    SFS OBS
    zookeeper配置文件
    zookeeper概念
    centos yum源问题三板斧
    nexus仓库
    SVN备份恢复
    ubuntu
  • 原文地址:https://www.cnblogs.com/cuijinlong/p/6419596.html
Copyright © 2011-2022 走看看