Examples of EntDbMdStaffType


Examples of com.ufis_as.ek_if.acts_ods.entities.EntDbMdStaffType

            GateTypeList.size());
      }
      if (mdStaffTypeOn) {
        List<Object> staffType = findAll(EntDbMdStaffType.class);
        for (Iterator<Object> it = staffType.iterator(); it.hasNext();) {
          EntDbMdStaffType record = (EntDbMdStaffType) it.next();
          StaffTypeList.add(record);
        }
        LOG.info("Basic data staff type of Records = {}",
            StaffTypeList.size());
      }
      // For BELT
      if (mdBagHandleLocOn) {
        List<Object> bagHandleLoc = findAll(EntDbMdBagHandleLoc.class);
        for (Iterator<Object> it = bagHandleLoc.iterator(); it
            .hasNext();) {
          EntDbMdBagHandleLoc record = (EntDbMdBagHandleLoc) it
              .next();


          mdBagHandleLocList.add(record);
        }
        LOG.info("Master data Bag Handle Location of Records = {}",
            mdBagHandleLocList.size());
      }
      if (mdBagReconLocOn) {
        List<Object> bagReconLoc = findAll(EntDbMdBagReconLoc.class);
        for (Iterator<Object> it = bagReconLoc.iterator(); it.hasNext();) {
          EntDbMdBagReconLoc record = (EntDbMdBagReconLoc) it.next();
          mdBagReconLocList.add(record);
        }
        LOG.info("Master data Bag Recon Location of Records = {}",
            mdBagReconLocList.size());
      }
      if (mdBagActionOn) {
        List<Object> bagActionList = findAll(EntDbMdBagAction.class);
        for (Iterator<Object> it = bagActionList.iterator(); it
            .hasNext();) {

          EntDbMdBagAction record = (EntDbMdBagAction) it.next();
          mdBagActionList.add(record);
        }
        LOG.info("Master data Bag Action of Records = {}",
            mdBagActionList.size());
      }
      if (mdBagTypeOn) {
        List<Object> bagTypeList = findAll(EntDbMdBagType.class);
        for (Iterator<Object> it = bagTypeList.iterator(); it.hasNext();) {
          EntDbMdBagType record = (EntDbMdBagType) it.next();
          mdBagTypeList.add(record);
        }
        LOG.info("Master data Bag Types Records = {}",
            mdBagTypeList.size());
      }
      if (mdBagClassifyOn) {
        List<Object> bagClassifyList = findAll(EntDbMdBagClassify.class);
        for (Iterator<Object> it = bagClassifyList.iterator(); it
            .hasNext();) {

          EntDbMdBagClassify record = (EntDbMdBagClassify) it.next();
          mdBagClassifyList.add(record);
        }
        LOG.info("Master data Bag Classify Records = {}",
            mdBagClassifyList.size());
      }
      if (mdEquipLocOn) {
        List<Object> euipLocList = findAll(EntDbMdEquipLoc.class);
        for (Iterator<Object> it = euipLocList.iterator(); it.hasNext();) {
          EntDbMdEquipLoc record = (EntDbMdEquipLoc) it.next();
          if (!HpUfisUtils.isNullOrEmptyStr(record.getEquipArea())) {
            mdEquipLocList.add(record.getEquipArea().toUpperCase());
          }
        }
        LOG.info("Master data Equip Loc Records = {}",
            mdEquipLocList.size());
      }
      if (mdEquipOn) {
        List<Object> equipList = findAll(EntDbMdEquip.class);
        for (Iterator<Object> it = equipList.iterator(); it.hasNext();) {
          EntDbMdEquip record = (EntDbMdEquip) it.next();
          if (!HpUfisUtils.isNullOrEmptyStr(record.getEquipNum())) {
            mdEquipList.add(record.getEquipNum().toUpperCase());
          }
        }
        LOG.info("Master data Equip Records = {}", mdEquipList.size());
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.