public Equipment createEquipmentSetTypeSetMagazine(
     Equipment equipment, Long equipmentsTypeId, Long magazineId, Long userId) {
   EquipmentsType equipmentsType = equipmentsTypeDao.getOne(equipmentsTypeId);
   Magazine magazine = magazineDao.getOne(magazineId);
   equipment.setEquipmentsType(equipmentsType);
   equipment.setMagazine(magazine);
   transmissionHistoryService.createTransmissionHistory(equipment, magazineId, userId);
   return equipmentDao.save(equipment);
 }
 @Override
 public Equipment createEquipment(Equipment equipment, Long equipmentsTypeId) {
   EquipmentsType equipmentsType = equipmentsTypeDao.getOne(equipmentsTypeId);
   equipment.setEquipmentsType(equipmentsType);
   return equipmentDao.saveAndFlush(equipment);
 }