/**
  * 添加履行信息
  *
  * @param orderId
  * @param targetId
  * @param adultQuantity
  * @param childQuantity
  */
 private boolean addPerform(Long orderId, Long targetId, Long adultQuantity, Long childQuantity) {
   boolean flag = false;
   CompositeQuery compositeQuery = new CompositeQuery();
   compositeQuery.getMetaPerformRelate().setOrderId(orderId);
   compositeQuery.getMetaPerformRelate().setTargetId(String.valueOf(targetId));
   compositeQuery.getPageIndex().setBeginIndex(0);
   compositeQuery.getPageIndex().setEndIndex(1000000000);
   List<OrdOrderItemMeta> orderItemMetas =
       orderServiceProxy.compositeQueryOrdOrderItemMetaByMetaPerformRelate(compositeQuery);
   int size = orderItemMetas.size();
   if (size > 1) {
     flag =
         orderServiceProxy.insertOrdPerform(
             targetId, orderId, ORDER, adultQuantity, childQuantity);
   } else {
     Long orderItemMetaId = orderItemMetas.get(0).getOrderItemMetaId();
     flag =
         orderServiceProxy.insertOrdPerform(
             targetId, orderItemMetaId, ORDER_ITEM, adultQuantity, childQuantity);
   }
   if (flag) {
     for (int i = 0; i < orderItemMetas.size(); i++) {
       OrdOrderItemMeta o = orderItemMetas.get(i);
       PassPortLog passPortLog = new PassPortLog();
       passPortLog.setContent("通过E景通通关预警管理通关");
       passPortLog.setCreateDate(new Date());
       passPortLog.setOrderId(passPortInfo.getOrderId());
       passPortLog.setOrderItemMetaId(o.getOrderItemMetaId());
       passPortLog.setPassPortUserId(this.getUser().getPassPortUserId());
       eplaceService.addPassPortLog(passPortLog);
     }
   }
   return flag;
 }
 @Override
 protected void doBefore() throws Exception {
   passPortInfo = (PassPortInfo) this.arg.get("passPortInfo");
   CompositeQuery compositeQuery = new CompositeQuery();
   compositeQuery.getMetaPerformRelate().setTargetId(String.valueOf(passPortInfo.getTargetId()));
   compositeQuery.getMetaPerformRelate().setOrderId(passPortInfo.getOrderId());
   orderItemMetas =
       orderServiceProxy.compositeQueryOrdOrderItemMetaByMetaPerformRelate(compositeQuery);
 }