Browse Source

Merge branch 'master' of http://dev.ccwin-in.com:3000/BoXu.Zheng/BeiJinSettleAccount

master
学 赵 1 year ago
parent
commit
95d3841855
  1. 3
      .drone.yml
  2. 1
      README.md
  3. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
  4. 16
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Production.json.backup
  5. BIN
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip
  6. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/home.js
  7. 9
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/BeiSeSyncAppService.cs
  8. 6
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/HandSeSyncAppService.cs
  9. 20
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs
  10. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncAppService.cs
  11. 29
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs
  12. 14
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeEdiCompareAppService.cs
  13. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncAppService.cs
  14. 29
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs
  15. 13
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JitSeSyncAppService.cs
  16. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanBBACSeSyncAppService.cs
  17. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/MaiDanHBPOSeSyncAppService.cs
  18. 13
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/SeSyncExtendManager.cs
  19. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/YinDuSeSyncAppService.cs
  20. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongBBACSeSyncAppService.cs
  21. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/ZhiGongHBPOSeSyncAppService.cs
  22. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs
  23. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs

3
.drone.yml

@ -15,8 +15,9 @@ steps:
- cd ./build
- chmod 755 ./build.sh
- ./build.sh
- 'git --no-pager log --date=format:"%Y-%m-%d %H:%M:%S" --pretty=format:"%h - %ad %cn: %s %b" --invert-grep --grep="CI SKIP" --grep="drone" >./publish/log.txt'
- echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt
- echo ${DRONE_COMMIT_MESSAGE}>>./publish/version.txt
- dotnet nuget locals global-packages --list
- name: publish

1
README.md

@ -4,6 +4,7 @@
默认进行自动构建、发布到MinIO并自动部署到测试服务器
1. 提交前确保先拉取更新
1. 提交时确保编译通过,提交后检查CI服务器编译是否成功
1. 不需要自动构建和部署的,在提交信息中添加 `[CI SKIP]`
1. 针对特定问题的解决,提交信息中添加问题编号

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj

@ -94,6 +94,9 @@
</ItemGroup>
<ItemGroup>
<None Update="appsettings.Production.json.backup">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="start.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

16
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Production.json.backup

@ -0,0 +1,16 @@
{
"ConnectionStrings": {
"Default": "Server=WIN-33SNP5V4K0L,1433;Database=BJABP;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
"SettleAccountService": "Server=WIN-33SNP5V4K0L,1433;Database=BQ_SA;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
"WMSBJBMPT": "Server=10.62.101.3,1433;Database=ExChangeCenter;User ID=sa;Password=Microsoft2008;Trusted_Connection=False;TrustServerCertificate=True;",
},
"AuthServer": {
"Authority": "http://localhost:16082"
},
"MinIO": {
"EndPoint": "localhost:16084",
"AccessKey": "g0GKnhRGEQHI0uiGBYre",
"SecretKey": "iKGlLz6UBzci3xrERw5Zz1gI77enT5u9agFemHPv",
"BucketName": "default"
}
}

BIN
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip

Binary file not shown.

6
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/home.js

@ -1,10 +1,13 @@
import html from "html";
export default {
template: html`<a href="../assets/导入模版.zip" target="blank">导入模板下载</a>
template: html`<a href="javascript:;" @click="download">导入模板下载</a>
<br />
<el-tree v-if="0" default-expand-all :data="list" :props="props" @node-click="handleNodeClick" /> `,
setup() {
const download = () => {
window.open(`../assets/导入模版.zip?time=${Date.now()}`);
};
const page = "page";
const createRoute = (path, title, type = "group") => {
return {
@ -110,6 +113,7 @@ export default {
}
};
return {
download,
list,
props,
handleNodeClick,

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

@ -24,13 +24,16 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
SyncTableName = "BeiSeSync",
SyncDeliverBillType = EnumDeliverBjBmpBillType.4S备件,
SyncDeliverSubBillTypes = new List<EnumDeliverSubBillType>
{
EnumDeliverSubBillType.4S备件BBAC
},
{
EnumDeliverSubBillType.4S备件BBAC
},
BusinessType = EnumBusinessType.BeiJian
};
}
/// <summary>
/// 执行备件发运同步
/// </summary>
[UnitOfWork(IsDisabled = true)]
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>
/// <remarks>
/// 发运数据手动同步
/// JisBBAC、JisHBPO、买单件BBAC、买单件HBPO、直供件BBAC、直供件HBPO、备件、印度件
/// </remarks>
[HttpPost]
[UnitOfWork(IsDisabled = true)]
public virtual async Task<IActionResult> SyncAsync([FromBody] EnumBusinessType businessType)
{
using var scope = this._applicationServices.CreateScope();
using var scope = _applicationServices.CreateScope();
IInvocable seSyncAppService = businessType switch
{
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>
/// <remarks>
/// 根据PN、无空格的客户零件号分组查询出状态为无Edi数据的发运数据
/// 根据PN、无空格的客户零件号分组查询出状态为无发运数据的Edi数据
/// 关联发运数据和Edi数据PN相同、无空格的客户零件号系统的前5_000条数据,获取匹配上的PN、CustomerPartCodeNoSpace
/// 根据PN、CustomerPartCodeNoSpace查询发运、Eid
/// 修改发运数据状态为有Eid数据
/// 修改Eid数据状态为有发运数据
/// </remarks>
public async Task Invoke()
{
using var serviceScope = _serviceProvider.CreateScope();
@ -88,14 +96,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 处理删除的EDI数据
/// </summary>
/// <remarks>
/// 处理10次、每次处理1000条已删除、有发运的Edi数据(JisBBAC)
/// 获取对应的发运数据和Edi数据
/// 设置发运数据状态为无EDI数据
/// 设置EDI数据状态为无发运数据
/// </remarks>
private async Task HandDelEdiDataAsync()
{
/*
*
*
* EDI数据
* EDI数据状态为无发运数据
*/
using var serviceScope = _serviceProvider.CreateScope();
var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>();
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)]
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>
public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 执行JisBBAC、买单件BBAC发运同步
/// 从WMS系统中 TM_BJBMPT_JIT_RECORD、TM_BJBMPT_JIS_RECORD 表中获取发运数据
/// </remarks>
[HttpPost]
public async Task Invoke()
{
@ -65,6 +72,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 同步JitRecord
/// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIT_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
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);
if (jisSeDetails.Any())
{
await SeDataPutInStorageAsync(jisSeDetails, false).ConfigureAwait(false);
await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
}
else
{
@ -103,6 +114,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 同步JisRecord
/// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIS_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
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);
if (jisSeDetails.Any())
{
await SeDataPutInStorageAsync(jisSeDetails, true).ConfigureAwait(false);
await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
}
else
{
@ -141,11 +156,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <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;
@ -189,6 +205,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
_settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag);
}
await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false);
var isJisTable = syncTableName.EndsWith("_Jis");
await _syncExtendManager.JisSeDetailsSaveConsignAsync<BBAC_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false);
await _settleAccountDbContext.SaveChangesAsync().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>
/// <remarks>
/// 根据PN、无空格的客户零件号分组查询出状态为无Edi数据的发运数据
/// 根据PN、无空格的客户零件号分组查询出状态为无发运数据的Edi数据
/// 关联发运数据和Edi数据PN相同、无空格的客户零件号系统的前5_000条数据,获取匹配上的PN、CustomerPartCodeNoSpace
/// 根据PN、CustomerPartCodeNoSpace查询发运、Eid
/// 修改发运数据状态为有Eid数据
/// 修改Eid数据状态为有发运数据
/// </remarks>
public async Task Invoke()
{
using var serviceScope = _serviceProvider.CreateScope();
@ -89,6 +97,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 处理删除的EDI数据
/// </summary>
/// <remarks>
/// 处理10次、每次处理1000条已删除、有发运的Edi数据(JisHBPO)
/// 获取对应的发运数据和Edi数据
/// 设置发运数据状态为无EDI数据
/// 设置EDI数据状态为无发运数据
/// </remarks>
private async Task HandDelEdiDataAsync()
{
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)]
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>
public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 执行JisBBAC、买单件BBAC发运同步
/// 从WMS系统中 TM_BJBMPT_JIT_RECORD、TM_BJBMPT_JIS_RECORD 表中获取发运数据
/// </remarks>
[HttpPost]
public virtual async Task Invoke()
{
@ -66,6 +73,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 同步JitRecord
/// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIT_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
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);
if (jisSeDetails.Any())
{
await SeDataPutInStorageAsync(jisSeDetails, false).ConfigureAwait(false);
await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
}
else
{
@ -104,6 +115,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 同步JisRecord
/// </summary>
/// <remarks>
/// 同步TM_BJBMPT_JIS_RECORD表发运数据
/// 同步十次、每次同步100_000条发运数据
/// </remarks>
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);
if (jisSeDetails.Any())
{
await SeDataPutInStorageAsync(jisSeDetails, true).ConfigureAwait(false);
await SeDataPutInStorageAsync(jisSeDetails, syncTableName).ConfigureAwait(false);
}
else
{
@ -142,11 +157,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <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;
@ -190,6 +206,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
_settleAccountDbContext.Add<SyncPositionFlag>(syncPositionFlag);
}
await _settleAccountDbContext.BulkInsertAsync(seDetails).ConfigureAwait(false);
var isJisTable = syncTableName.EndsWith("_Jis");
await _syncExtendManager.JisSeDetailsSaveConsignAsync<HBPO_SE_DETAIL>(seDetails, isJisTable).ConfigureAwait(false);
await _settleAccountDbContext.SaveChangesAsync().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>
public SeSyncConfig SeSyncConfigInfo { get; set; }
/// <summary>
/// 执行发运同步
/// </summary>
/// <remarks>
/// 直供件BBAC、直供件HBPO、备件、印度件发运同步
/// 数据同步规则
/// * 同步十次、每次同步100_000条发运数据
/// * 每次同步需要记录同步WMS数据的最大Id(递增Id)、下次同步从最大Id向后查询数据
/// </remarks>
[HttpPost]
public async Task Invoke()
{
@ -91,6 +100,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// 发运数据入库
/// </summary>
/// <remarks>
/// 除了备件业务外,直供件BBAC、直供件HBPO、印度件业务需要添加客户与厂内零件号关系
/// 记录同步位置、发运数据入库、入库寄售库数据
/// </remarks>
private async Task SeDataPutInStorageAsync(List<PUB_SE_DETAIL> seDetails)
{
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)]
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)]
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>
/// <remarks>
/// 过滤客户零件号、厂内零件号、业务类型已存在的数据
/// 其他数据入库
/// </remarks>
public async Task AddNewMaterialRelationshipsAsync(IEnumerable<MaterialRelationship> materialRelationships)
{
//新客户零件号和厂内零件号
@ -52,6 +56,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// Jis发运数据保存寄售库
/// </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
{
var deliverSeDetails = seDetails.FindAll(t => t.TransType == EnumDelTransType.);
@ -121,6 +130,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// <summary>
/// Pub发运数据保存寄售库
/// </summary>
/// <remarks>
/// 直供件BBAC、直供件HBPO、备件、印度件
/// 发运同步保存寄售库
/// </remarks>
public async Task PubSeDetailsSaveConsignAsync(List<PUB_SE_DETAIL> seDetails)
{
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)]
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)]
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)]
public virtual async Task Invoke(IServiceProvider serviceProvider)
{

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs

@ -37,7 +37,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
/// </summary>
[HttpPost]
[Route("list")]
[UnitOfWork(IsDisabled = false)]
[UnitOfWork(false)]
public virtual async Task<PagedResultDto<JobDto>> GetListAsync(JobRequestDto input)
{
var lists = await _service.GetListAsync(input).ConfigureAwait(false);

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs

@ -69,8 +69,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
return await _mng.UpdateAsync(p_id, remark).ConfigureAwait(false);
}
[UnitOfWork(IsDisabled = false)]
[UnitOfWork(false)]
public virtual async Task<List<JobDto>> GetListAsync(JobRequestDto input)
{
var _job = new Job(input.Id,

Loading…
Cancel
Save