This commit is contained in:
2021-12-27 20:22:41 +00:00
parent 5feee8a2f4
commit 4c0976a050
2 changed files with 4 additions and 4 deletions

View File

@@ -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");
} }

View File

@@ -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)
{ {