private void setNewEquipmentNoMap(List<Equipments> equipmentList) { for (Equipments equipment : equipmentList) { equipment.setInsatll(true); Long equipmentNo = arrangementDao.getMaxEquipmentNo(); equipmentNoCovertMap.put(equipment.getEquipmentNo(), equipmentNo); } }
private Long newEquipmentNo(Equipments equipment) { return equipmentNoCovertMap.get(equipment.getEquipmentNo()); }