浏览代码

Death Certificate List

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() {
     private void loadDeathCertificates() {
         logger.debug("DataLoadCertificates::LoadDeathCertificates");
         logger.debug("DataLoadCertificates::LoadDeathCertificates");
         DeathCertificateCommand deathCertificateCommand = new DeathCertificateCommandImpl();
         DeathCertificateCommand deathCertificateCommand = new DeathCertificateCommandImpl();
+        deathCertificateCommand.setDeceased(personService.findById(1L));
+        deathCertificateCommand.setFather(personService.findById(2L));
 
 
         deathCertificateService.saveDeathCertificateCommand(deathCertificateCommand);
         deathCertificateService.saveDeathCertificateCommand(deathCertificateCommand);
     }
     }