From 4c0976a05007e816c2ad2e8d8551c5d9bfbd32b8 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 27 Dec 2021 20:22:41 +0000 Subject: [PATCH] --- server/AyaNova/biz/BizObjectFactory.cs | 6 +++--- server/AyaNova/biz/ReportBiz.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/AyaNova/biz/BizObjectFactory.cs b/server/AyaNova/biz/BizObjectFactory.cs index bdefec69..2efec0f0 100644 --- a/server/AyaNova/biz/BizObjectFactory.cs +++ b/server/AyaNova/biz/BizObjectFactory.cs @@ -33,7 +33,7 @@ namespace AyaNova.Biz case AyaType.DataListSavedFilter: return new DataListSavedFilterBiz(ct, userId, translationId, roles); case AyaType.FormCustom: - return new FormCustomBiz(ct, userId, translationId, roles); + return new FormCustomBiz(ct, userId, translationId, roles); case AyaType.FileAttachment: return new AttachmentBiz(ct, userId, roles); case AyaType.Customer: @@ -147,8 +147,8 @@ namespace AyaNova.Biz return new TaskGroupBiz(ct, userId, translationId, roles); case AyaType.UnitMeterReading: return new UnitMeterReadingBiz(ct, userId, translationId, roles); - - + case AyaType.Report: + return new ReportBiz(ct, userId, translationId, roles); default: throw new System.NotSupportedException($"AyaNova.BLL.BizObjectFactory::GetBizObject type {ayaType.ToString()} is not supported"); } diff --git a/server/AyaNova/biz/ReportBiz.cs b/server/AyaNova/biz/ReportBiz.cs index aab898ca..9c5f251b 100644 --- a/server/AyaNova/biz/ReportBiz.cs +++ b/server/AyaNova/biz/ReportBiz.cs @@ -14,7 +14,7 @@ using System; namespace AyaNova.Biz { - internal class ReportBiz : BizObject, ISearchAbleObject + internal class ReportBiz : BizObject, IJobObject, ISearchAbleObject { internal ReportBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles) {