From 62f302a91c7f108bb84ee4cb86d880a6788501c5 Mon Sep 17 00:00:00 2001 From: liuyunfeng Date: Thu, 9 Nov 2023 08:34:11 +0800 Subject: [PATCH] =?UTF-8?q?BillNumRec=E6=9C=8D=E5=8A=A1=E6=94=B9=E6=88=90?= =?UTF-8?q?=E5=8D=95=E4=BE=8B=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MsgCheck/Services/BillNumberRecordDomainService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs index 8151032..9bd3ef2 100644 --- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs +++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp; +using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Services; using WY.NewJit.MsgBaseData; @@ -12,6 +13,7 @@ using WY.NewJit.PrintTable; namespace WY.NewJit.MsgCheck { + [Dependency(Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton, ReplaceServices =true)] public class BillNumberRecordDomainService : DomainService { private readonly IRepository _billNumberRepository;