40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
using BeWo.Data.Access;
|
|
using BeWo.Data.Entities;
|
|
using BeWo.Service.DCEntityMapper;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared;
|
|
using BS.Shared.Core;
|
|
using BS.Shared.DataContracts;
|
|
using BS.Shared.DataContracts.Compact;
|
|
using BS.Shared.Extensions;
|
|
|
|
namespace LebenshilfeFrankfurtOder.Service
|
|
{
|
|
public class CustomQueryService : QueryService
|
|
{
|
|
public override List<QueryDC> GetAllQueriesOfType(QueryType pType)
|
|
{
|
|
var list = base.GetAllQueriesOfType(pType);
|
|
|
|
foreach (var queryDc in list)
|
|
{
|
|
if (queryDc.Oid == 100)
|
|
{
|
|
queryDc.Parameter[1].CustomValues.Add("Ambulant betreutes Wohnen");
|
|
queryDc.Parameter[1].CustomValues.Add("Begleitende Elternschaft");
|
|
queryDc.Parameter[1].CustomValues.Add("Einzelfallhilfe");
|
|
queryDc.Parameter[1].CustomValues.Add("Familien entlastender Dienst");
|
|
queryDc.Parameter[1].CustomValues.Add("Tagesstruktur");
|
|
queryDc.Parameter[1].CustomValues.Add("Wohnstätte");
|
|
}
|
|
|
|
}
|
|
|
|
return list;
|
|
}
|
|
}
|
|
} |