This commit is contained in:
@@ -33,7 +33,7 @@ namespace AyaNova.Biz
|
|||||||
case AyaType.DataListSavedFilter:
|
case AyaType.DataListSavedFilter:
|
||||||
return new DataListSavedFilterBiz(ct, userId, translationId, roles);
|
return new DataListSavedFilterBiz(ct, userId, translationId, roles);
|
||||||
case AyaType.FormCustom:
|
case AyaType.FormCustom:
|
||||||
return new FormCustomBiz(ct, userId, translationId, roles);
|
return new FormCustomBiz(ct, userId, translationId, roles);
|
||||||
case AyaType.FileAttachment:
|
case AyaType.FileAttachment:
|
||||||
return new AttachmentBiz(ct, userId, roles);
|
return new AttachmentBiz(ct, userId, roles);
|
||||||
case AyaType.Customer:
|
case AyaType.Customer:
|
||||||
@@ -147,8 +147,8 @@ namespace AyaNova.Biz
|
|||||||
return new TaskGroupBiz(ct, userId, translationId, roles);
|
return new TaskGroupBiz(ct, userId, translationId, roles);
|
||||||
case AyaType.UnitMeterReading:
|
case AyaType.UnitMeterReading:
|
||||||
return new UnitMeterReadingBiz(ct, userId, translationId, roles);
|
return new UnitMeterReadingBiz(ct, userId, translationId, roles);
|
||||||
|
case AyaType.Report:
|
||||||
|
return new ReportBiz(ct, userId, translationId, roles);
|
||||||
default:
|
default:
|
||||||
throw new System.NotSupportedException($"AyaNova.BLL.BizObjectFactory::GetBizObject type {ayaType.ToString()} is not supported");
|
throw new System.NotSupportedException($"AyaNova.BLL.BizObjectFactory::GetBizObject type {ayaType.ToString()} is not supported");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System;
|
|||||||
|
|
||||||
namespace AyaNova.Biz
|
namespace AyaNova.Biz
|
||||||
{
|
{
|
||||||
internal class ReportBiz : BizObject, ISearchAbleObject
|
internal class ReportBiz : BizObject, IJobObject, ISearchAbleObject
|
||||||
{
|
{
|
||||||
internal ReportBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles)
|
internal ReportBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user