Andrew Grant преди 4 месеца
родител
ревизия
60bd06adc1
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/main/java/scot/carricksoftware/grants/bootstrap/DataLoadCertificates.java

+ 2 - 0
src/main/java/scot/carricksoftware/grants/bootstrap/DataLoadCertificates.java

@@ -90,6 +90,8 @@ public class DataLoadCertificates {
     private void loadDeathCertificates() {
         logger.debug("DataLoadCertificates::LoadDeathCertificates");
         DeathCertificateCommand deathCertificateCommand = new DeathCertificateCommandImpl();
+        deathCertificateCommand.setDeceased(personService.findById(1L));
+        deathCertificateCommand.setFather(personService.findById(2L));
 
         deathCertificateService.saveDeathCertificateCommand(deathCertificateCommand);
     }