|
|
@ -10,8 +10,6 @@ using Microsoft.AspNetCore.Mvc; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using SettleAccount.Domain.BQ; |
|
|
|
using Volo.Abp.Application.Services; |
|
|
|
using Volo.Abp.Uow; |
|
|
|
using Win.Sfs.Shared.RepositoryBase; |
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs; |
|
|
|
|
|
|
@ -21,32 +19,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs; |
|
|
|
[ApiExplorerSettings(IgnoreApi = true)] |
|
|
|
public class JisHBPOSeEdiCompareAppService : ApplicationService, IInvocable |
|
|
|
{ |
|
|
|
private readonly object _lockObj = new object(); |
|
|
|
private readonly IServiceProvider _serviceProvider; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// HBPO发运数据仓储
|
|
|
|
/// </summary>
|
|
|
|
private readonly INormalEfCoreRepository<HBPO_SE_DETAIL, Guid> _hbpoSeDetailRepository; |
|
|
|
/// <summary>
|
|
|
|
/// HBPOEDI数据仓储
|
|
|
|
/// </summary>
|
|
|
|
private readonly INormalEfCoreRepository<HBPO_SE_EDI, Guid> _hbpoSeEdiRepository; |
|
|
|
/// <summary>
|
|
|
|
/// UnitOfWork
|
|
|
|
/// </summary>
|
|
|
|
private readonly IUnitOfWorkManager _unitOfWorkManager; |
|
|
|
|
|
|
|
public JisHBPOSeEdiCompareAppService( |
|
|
|
IServiceProvider serviceProvider, |
|
|
|
INormalEfCoreRepository<HBPO_SE_DETAIL, Guid> hbpoSeDetailRepository, |
|
|
|
INormalEfCoreRepository<HBPO_SE_EDI, Guid> hbpoSeEdiRepository, |
|
|
|
IUnitOfWorkManager unitOfWorkManager) |
|
|
|
public JisHBPOSeEdiCompareAppService(IServiceProvider serviceProvider) |
|
|
|
{ |
|
|
|
_serviceProvider = serviceProvider; |
|
|
|
_hbpoSeDetailRepository = hbpoSeDetailRepository; |
|
|
|
_hbpoSeEdiRepository = hbpoSeEdiRepository; |
|
|
|
_unitOfWorkManager = unitOfWorkManager; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|