Konflikt gelöst

This commit is contained in:
2024-02-20 15:18:58 +01:00
353 changed files with 78263 additions and 10225 deletions

View File

@@ -1379,6 +1379,44 @@ namespace BeWo.Service.ServiceImplementations
}
}
public List<SupportConceptTreeNodeDetailInfoDC> GetSupportConceptTreeNodeDetailInfos(List<long> supportConceptOids)
{
try
{
var result = new List<SupportConceptTreeNodeDetailInfoDC>();
if (supportConceptOids.Count > 0)
{
var scList = DAOFactory.GenericDAO.LoadByIDs<SupportConcept>(supportConceptOids);
foreach (var sc in scList)
{
var list = new List<ValueListEntryType>();
list.Add(ValueListEntryType.SupportConceptGoalType);
list.Add(ValueListEntryType.SupportConceptGoalCategoryType);
list.Add(ValueListEntryType.SupportConceptIndividualGoalCategoryType);
list.Add(ValueListEntryType.SupportConceptIndividualGoalType);
var dc = new SupportConceptTreeNodeDetailInfoDC();
dc.SupportConceptGoals =
MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDCs(
sc.ValueList.FindByTypes(list)
.Select(e2o => e2o.Entry)
.Where(e => e.IsActive == ActivationTypeId.Active));
dc.ServiceAccountings = MapperFactory.ServiceAccountingDC_ServiceAccounting.MapToNewDCs(sc.ServiceAccountings);
result.Add(dc);
}
}
return result;
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public CompactOrganisationDC FillCostbearerDetails(CompactOrganisationDC dc)
{
try