Fix on dmp persist
This commit is contained in:
parent
a5f46e9328
commit
d3cd37d57a
|
@ -293,6 +293,7 @@ public class DmpServiceImpl implements DmpService {
|
||||||
DmpDescriptionTemplateEntity dmpTemplate = new DmpDescriptionTemplateEntity();
|
DmpDescriptionTemplateEntity dmpTemplate = new DmpDescriptionTemplateEntity();
|
||||||
dmpTemplate.setDescriptionTemplate(model.getDescriptionTemplate());
|
dmpTemplate.setDescriptionTemplate(model.getDescriptionTemplate());
|
||||||
dmpTemplate.setDmp(dmpId);
|
dmpTemplate.setDmp(dmpId);
|
||||||
|
dmpTemplate.setSectionId(model.getSectionId());
|
||||||
dmpTemplate.setCreatedAt(Instant.now());
|
dmpTemplate.setCreatedAt(Instant.now());
|
||||||
dmpTemplate.setUpdatedAt(Instant.now());
|
dmpTemplate.setUpdatedAt(Instant.now());
|
||||||
dmpTemplate.setIsActive(IsActive.Active);
|
dmpTemplate.setIsActive(IsActive.Active);
|
||||||
|
|
Loading…
Reference in New Issue