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 a566786..8b0521d 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 @@ -24,20 +24,17 @@ namespace WY.NewJit.MsgCheck private readonly LogRemindDomainService _logRemindDomainService; public static List _billNumberRecordCaches= new List() ;//记录内存 - private readonly IObjectMapper _objectMapper; - public BillNumberRecordDomainService( IRepository billNumberRepository, ILogger logger, LogRemindDomainService logRemindDomainService, - IRepository waitPrintRepository, - IObjectMapper objectMapper) + IRepository waitPrintRepository) { _billNumberRepository = billNumberRepository; _logger = logger; _logRemindDomainService = logRemindDomainService; _waitPrintRepository = waitPrintRepository; - _objectMapper = objectMapper; + } /// /// 获取和更新记录和内存 @@ -66,10 +63,7 @@ namespace WY.NewJit.MsgCheck else { _billNumberRecordCaches.Clear(); - //_billNumberRecordCaches = await _billNumberRepository.GetListAsync(); - var aa = await _billNumberRepository.GetListAsync(); - _billNumberRecordCaches = _objectMapper.Map, List>(aa); - + _billNumberRecordCaches = await _billNumberRepository.GetListAsync(); foreach (var item in _billNumberRecordCaches) {