Browse Source

[CI SKIP]补充注释

master
mahao 1 year ago
parent
commit
d7e16a24c3
  1. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/BeiSeSyncAppService.cs
  2. 6
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/HandSeSyncAppService.cs
  3. 20
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs
  4. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncAppService.cs
  5. 29
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs
  6. 14
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeEdiCompareAppService.cs
  7. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncAppService.cs
  8. 29
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs
  9. 13
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JitSeSyncAppService.cs
  10. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanBBACSeSyncAppService.cs
  11. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanHBPOSeSyncAppService.cs
  12. 13
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/SeSyncExtendManager.cs
  13. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/YinDuSeSyncAppService.cs
  14. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongBBACSeSyncAppService.cs
  15. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongHBPOSeSyncAppService.cs

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/BeiSeSyncAppService.cs

@ -31,6 +31,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行备件发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual async Task Invoke(IServiceProvider serviceProvider)
{ {

6
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/HandSeSyncAppService.cs

@ -28,11 +28,15 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 同步 /// 同步
/// </summary> /// </summary>
/// <remarks>
/// 发运数据手动同步
/// JisBBAC、JisHBPO、买单件BBAC、买单件HBPO、直供件BBAC、直供件HBPO、备件、印度件
/// </remarks>
[HttpPost] [HttpPost]
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task<IActionResult> SyncAsync([FromBody] EnumBusinessType businessType) public virtual async Task<IActionResult> SyncAsync([FromBody] EnumBusinessType businessType)
{ {
using var scope = this._applicationServices.CreateScope(); using var scope = _applicationServices.CreateScope();
IInvocable seSyncAppService = businessType switch IInvocable seSyncAppService = businessType switch
{ {
EnumBusinessType.JisBBAC => scope.ServiceProvider.GetRequiredService<JisBBACSeSyncAppService>(), EnumBusinessType.JisBBAC => scope.ServiceProvider.GetRequiredService<JisBBACSeSyncAppService>(),

20
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs

@ -29,6 +29,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 执行 /// 执行
/// </summary> /// </summary>
/// <remarks>
/// 根据PN、无空格的客户零件号分组查询出状态为无Edi数据的发运数据
/// 根据PN、无空格的客户零件号分组查询出状态为无发运数据的Edi数据
/// 关联发运数据和Edi数据PN相同、无空格的客户零件号系统的前5_000条数据,获取匹配上的PN、CustomerPartCodeNoSpace
/// 根据PN、CustomerPartCodeNoSpace查询发运、Eid
/// 修改发运数据状态为有Eid数据
/// 修改Eid数据状态为有发运数据
/// </remarks>
public async Task Invoke() public async Task Invoke()
{ {
using var serviceScope = _serviceProvider.CreateScope(); using var serviceScope = _serviceProvider.CreateScope();
@ -88,14 +96,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 处理删除的EDI数据 /// 处理删除的EDI数据
/// </summary> /// </summary>
/// <remarks>
/// 处理10次、每次处理1000条已删除、有发运的Edi数据(JisBBAC)
/// 获取对应的发运数据和Edi数据
/// 设置发运数据状态为无EDI数据
/// 设置EDI数据状态为无发运数据
/// </remarks>
private async Task HandDelEdiDataAsync() private async Task HandDelEdiDataAsync()
{ {
/*
*
*
* EDI数据
* EDI数据状态为无发运数据
*/
using var serviceScope = _serviceProvider.CreateScope(); using var serviceScope = _serviceProvider.CreateScope();
var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>();
var seed = 0; var seed = 0;

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncAppService.cs

@ -38,6 +38,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行JisBBAC发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public async Task Invoke(IServiceProvider serviceProvider) public async Task Invoke(IServiceProvider serviceProvider)
{ {

29
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs

@ -51,6 +51,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// </summary> /// </summary>
public SeSyncConfig SeSyncConfigInfo { get; set; } public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 执行JisBBAC、买单件BBAC发运同步
/// 从WMS系统中 TM_BJBMPT_JIT_RECORD、TM_BJBMPT_JIS_RECORD 表中获取发运数据
/// </remarks>
[HttpPost] [HttpPost]
public async Task Invoke() public async Task Invoke()
{ {
@ -65,6 +72,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 同步JitRecord /// 同步JitRecord
/// </summary> /// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIT_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
private async Task SyncJitRecordAsync() private async Task SyncJitRecordAsync()
{ {
//同步表名称 //同步表名称
@ -91,7 +102,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords); var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords);
if (jisSeDetails.Any()) if (jisSeDetails.Any())
{ {
await SeDataPutInStorageAsync(jisSeDetails, false).ConfigureAwait(false); await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
} }
else else
{ {
@ -103,6 +114,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 同步JisRecord /// 同步JisRecord
/// </summary> /// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIS_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
private async Task SyncJisRecordAsync() private async Task SyncJisRecordAsync()
{ {
//同步表名称 //同步表名称
@ -129,7 +144,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords); var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords);
if (jisSeDetails.Any()) if (jisSeDetails.Any())
{ {
await SeDataPutInStorageAsync(jisSeDetails, true).ConfigureAwait(false); await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
} }
else else
{ {
@ -141,11 +156,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 发运数据入库 /// 发运数据入库
/// </summary> /// </summary>
private async Task SeDataPutInStorageAsync(List<BBAC_SE_DETAIL> seDetails, bool isJisTable) /// <remarks>
/// 添加客户与厂内零件号关系
/// 记录同步位置、发运数据入库、入库寄售库数据
/// </remarks>
private async Task SeDataPutInStorageAsync(List<BBAC_SE_DETAIL> seDetails, string syncTableName)
{ {
//同步表名称
var syncTableName = isJisTable ? SeSyncConfigInfo.SyncTableName +
"_Jis" : SeSyncConfigInfo.SyncTableName + "_Jit";
//业务类别 //业务类别
var businessType = SeSyncConfigInfo.BusinessType; var businessType = SeSyncConfigInfo.BusinessType;
@ -189,6 +205,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
_settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag); _settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag);
} }
await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false); await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false);
var isJisTable = syncTableName.EndsWith("_Jis");
await _syncExtendManager.JisSeDetailsSaveConsignAsync<BBAC_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false); await _syncExtendManager.JisSeDetailsSaveConsignAsync<BBAC_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false);
await _settleAccountDbContext.SaveChangesAsync().ConfigureAwait(false); await _settleAccountDbContext.SaveChangesAsync().ConfigureAwait(false);
await transaction.CommitAsync().ConfigureAwait(false); await transaction.CommitAsync().ConfigureAwait(false);

14
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeEdiCompareAppService.cs

@ -30,6 +30,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 执行 /// 执行
/// </summary> /// </summary>
/// <remarks>
/// 根据PN、无空格的客户零件号分组查询出状态为无Edi数据的发运数据
/// 根据PN、无空格的客户零件号分组查询出状态为无发运数据的Edi数据
/// 关联发运数据和Edi数据PN相同、无空格的客户零件号系统的前5_000条数据,获取匹配上的PN、CustomerPartCodeNoSpace
/// 根据PN、CustomerPartCodeNoSpace查询发运、Eid
/// 修改发运数据状态为有Eid数据
/// 修改Eid数据状态为有发运数据
/// </remarks>
public async Task Invoke() public async Task Invoke()
{ {
using var serviceScope = _serviceProvider.CreateScope(); using var serviceScope = _serviceProvider.CreateScope();
@ -89,6 +97,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 处理删除的EDI数据 /// 处理删除的EDI数据
/// </summary> /// </summary>
/// <remarks>
/// 处理10次、每次处理1000条已删除、有发运的Edi数据(JisHBPO)
/// 获取对应的发运数据和Edi数据
/// 设置发运数据状态为无EDI数据
/// 设置EDI数据状态为无发运数据
/// </remarks>
private async Task HandDelEdiDataAsync() private async Task HandDelEdiDataAsync()
{ {
using var serviceScope = _serviceProvider.CreateScope(); using var serviceScope = _serviceProvider.CreateScope();

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncAppService.cs

@ -36,6 +36,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行JisHBPO发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual async Task Invoke(IServiceProvider serviceProvider)
{ {

29
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs

@ -52,6 +52,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// </summary> /// </summary>
public SeSyncConfig SeSyncConfigInfo { get; set; } public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 执行JisBBAC、买单件BBAC发运同步
/// 从WMS系统中 TM_BJBMPT_JIT_RECORD、TM_BJBMPT_JIS_RECORD 表中获取发运数据
/// </remarks>
[HttpPost] [HttpPost]
public virtual async Task Invoke() public virtual async Task Invoke()
{ {
@ -66,6 +73,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 同步JitRecord /// 同步JitRecord
/// </summary> /// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIT_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
private async Task SyncJitRecordAsync() private async Task SyncJitRecordAsync()
{ {
//同步表名称 //同步表名称
@ -92,7 +103,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<HBPO_SE_DETAIL>>(wmsSeRecords); var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<HBPO_SE_DETAIL>>(wmsSeRecords);
if (jisSeDetails.Any()) if (jisSeDetails.Any())
{ {
await SeDataPutInStorageAsync(jisSeDetails, false).ConfigureAwait(false); await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
} }
else else
{ {
@ -104,6 +115,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 同步JisRecord /// 同步JisRecord
/// </summary> /// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIS_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
private async Task SyncJisRecordAsync() private async Task SyncJisRecordAsync()
{ {
//同步表名称 //同步表名称
@ -130,7 +145,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<HBPO_SE_DETAIL>>(wmsRecords); var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<HBPO_SE_DETAIL>>(wmsRecords);
if (jisSeDetails.Any()) if (jisSeDetails.Any())
{ {
await SeDataPutInStorageAsync(jisSeDetails, true).ConfigureAwait(false); await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
} }
else else
{ {
@ -142,11 +157,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 发运数据入库 /// 发运数据入库
/// </summary> /// </summary>
private async Task SeDataPutInStorageAsync(List<HBPO_SE_DETAIL> seDetails, bool isJisTable) /// <remarks>
/// 添加客户与厂内零件号关系
/// 记录同步位置、发运数据入库、入库寄售库数据
/// </remarks>
private async Task SeDataPutInStorageAsync(List<HBPO_SE_DETAIL> seDetails, string syncTableName)
{ {
//同步表名称
var syncTableName = isJisTable ? SeSyncConfigInfo.SyncTableName +
"_Jis" : SeSyncConfigInfo.SyncTableName + "_Jit";
//业务类别 //业务类别
var businessType = SeSyncConfigInfo.BusinessType; var businessType = SeSyncConfigInfo.BusinessType;
@ -190,6 +206,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
_settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag); _settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag);
} }
await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false); await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false);
var isJisTable = syncTableName.EndsWith("_Jis");
await _syncExtendManager.JisSeDetailsSaveConsignAsync<HBPO_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false); await _syncExtendManager.JisSeDetailsSaveConsignAsync<HBPO_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false);
await _settleAccountDbContext.SaveChangesAsync().ConfigureAwait(false); await _settleAccountDbContext.SaveChangesAsync().ConfigureAwait(false);
await transaction.CommitAsync().ConfigureAwait(false); await transaction.CommitAsync().ConfigureAwait(false);

13
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JitSeSyncAppService.cs

@ -50,6 +50,15 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// </summary> /// </summary>
public SeSyncConfig SeSyncConfigInfo { get; set; } public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 直供件BBAC、直供件HBPO、备件、印度件发运同步
/// 数据同步规则
/// * 同步十次、每次同步100_000条发运数据
/// * 每次同步需要记录同步WMS数据的最大Id(递增Id)、下次同步从最大Id向后查询数据
/// </remarks>
[HttpPost] [HttpPost]
public async Task Invoke() public async Task Invoke()
{ {
@ -91,6 +100,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 发运数据入库 /// 发运数据入库
/// </summary> /// </summary>
/// <remarks>
/// 除了备件业务外,直供件BBAC、直供件HBPO、印度件业务需要添加客户与厂内零件号关系
/// 记录同步位置、发运数据入库、入库寄售库数据
/// </remarks>
private async Task SeDataPutInStorageAsync(List<PUB_SE_DETAIL> seDetails) private async Task SeDataPutInStorageAsync(List<PUB_SE_DETAIL> seDetails)
{ {
var syncTableName = SeSyncConfigInfo.SyncTableName; var syncTableName = SeSyncConfigInfo.SyncTableName;

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanBBACSeSyncAppService.cs

@ -38,6 +38,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行买单件BBAC发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public async Task Invoke(IServiceProvider serviceProvider) public async Task Invoke(IServiceProvider serviceProvider)
{ {

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanHBPOSeSyncAppService.cs

@ -36,6 +36,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行买单件HBPO发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public async Task Invoke(IServiceProvider serviceProvider) public async Task Invoke(IServiceProvider serviceProvider)
{ {

13
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/SeSyncExtendManager.cs

@ -32,6 +32,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// 添加零件关系 /// 添加零件关系
/// </summary> /// </summary>
/// <remarks>
/// 过滤客户零件号、厂内零件号、业务类型已存在的数据
/// 其他数据入库
/// </remarks>
public async Task AddNewMaterialRelationshipsAsync(IEnumerable<MaterialRelationship> materialRelationships) public async Task AddNewMaterialRelationshipsAsync(IEnumerable<MaterialRelationship> materialRelationships)
{ {
//新客户零件号和厂内零件号 //新客户零件号和厂内零件号
@ -52,6 +56,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// Jis发运数据保存寄售库 /// Jis发运数据保存寄售库
/// </summary> /// </summary>
/// <remarks>
/// JisBBAC、JisHBPO、买单件BBAC、买单件HBPO发运同步保存寄售库
/// isJisTable 用于区分数据来源表 TM_BJBMPT_JIS_RECORD、TM_BJBMPT_JIT_RECORD
/// 不同表获取的字段有差别
/// </remarks>
public async Task JisSeDetailsSaveConsignAsync<T>(List<T> seDetails, bool isJisTable) where T : JisSeBase public async Task JisSeDetailsSaveConsignAsync<T>(List<T> seDetails, bool isJisTable) where T : JisSeBase
{ {
var deliverSeDetails = seDetails.FindAll(t => t.TransType == EnumDelTransType.); var deliverSeDetails = seDetails.FindAll(t => t.TransType == EnumDelTransType.);
@ -121,6 +130,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary> /// <summary>
/// Pub发运数据保存寄售库 /// Pub发运数据保存寄售库
/// </summary> /// </summary>
/// <remarks>
/// 直供件BBAC、直供件HBPO、备件、印度件
/// 发运同步保存寄售库
/// </remarks>
public async Task PubSeDetailsSaveConsignAsync(List<PUB_SE_DETAIL> seDetails) public async Task PubSeDetailsSaveConsignAsync(List<PUB_SE_DETAIL> seDetails)
{ {
var deliverSeDetails = seDetails.FindAll(t => t.TransType == EnumDelTransType.); var deliverSeDetails = seDetails.FindAll(t => t.TransType == EnumDelTransType.);

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/YinDuSeSyncAppService.cs

@ -31,6 +31,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行印度件发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual async Task Invoke(IServiceProvider serviceProvider)
{ {

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongBBACSeSyncAppService.cs

@ -31,6 +31,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行直供件BBAC发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual async Task Invoke(IServiceProvider serviceProvider)
{ {

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongHBPOSeSyncAppService.cs

@ -31,6 +31,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
}; };
} }
/// <summary>
/// 执行直供件HBPO发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)] [UnitOfWork(IsDisabled = true)]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual async Task Invoke(IServiceProvider serviceProvider)
{ {

Loading…
Cancel
Save