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());
}
}