This commit is contained in:
CITE\spapacharalampous 2024-07-19 16:33:22 +03:00
parent 481b129111
commit 772550d90d
1 changed files with 69 additions and 69 deletions

View File

@ -547,8 +547,8 @@ public class PlanServiceImpl implements PlanService {
}
}
}
} else {
}
else {
for (PlanDescriptionTemplateEntity oldPlanDescriptionTemplate : planDescriptionTemplates) {
if (newPlanDescriptionTemplateEntities.stream().filter(x -> x.getSectionId().equals(oldPlanDescriptionTemplate.getSectionId()) && x.getDescriptionTemplateGroupId().equals(oldPlanDescriptionTemplate.getDescriptionTemplateGroupId())).findFirst().orElse(null) == null){
PlanDescriptionTemplateEntity newTemplate = new PlanDescriptionTemplateEntity();