|
|
@ -94,7 +94,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
//业务类别
|
|
|
|
var businessType = SeSyncConfigInfo.BusinessType; |
|
|
|
var seed = 0; |
|
|
|
while (seed < 10) |
|
|
|
while (seed < 6) |
|
|
|
{ |
|
|
|
seed++; |
|
|
|
var syncPositionFlag = await _settleAccountDbContext.Set<SyncPositionFlag>().FirstOrDefaultAsync(t => t.TableName == syncTableName).ConfigureAwait(false); |
|
|
@ -105,7 +105,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
.Where(t => t.UID > int.Parse(syncPosition)) |
|
|
|
.Where(t => t.DeliverBillType == deliverBillType) |
|
|
|
.Where(t => deliverSubBillTypes.Contains(t.DeliverSubBillType)) |
|
|
|
.OrderBy(b => b.UID).Take(1_000).ToList(); |
|
|
|
.OrderBy(b => b.UID).Take(5000).ToList(); |
|
|
|
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIT_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords); |
|
|
|
if (jisSeDetails.Any()) |
|
|
|
{ |
|
|
@ -136,7 +136,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
//业务类别
|
|
|
|
var businessType = SeSyncConfigInfo.BusinessType; |
|
|
|
var seed = 0; |
|
|
|
while (seed < 10) |
|
|
|
while (seed < 6) |
|
|
|
{ |
|
|
|
seed++; |
|
|
|
var syncPositionFlag = await _settleAccountDbContext.Set<SyncPositionFlag>().FirstOrDefaultAsync(t => t.TableName == syncTableName).ConfigureAwait(false); |
|
|
@ -147,7 +147,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
.Where(t => t.UID > int.Parse(syncPosition)) |
|
|
|
.Where(t => t.DeliverBillType == deliverBillType) |
|
|
|
.Where(t => deliverSubBillTypes.Contains(t.DeliverSubBillType)) |
|
|
|
.OrderBy(b => b.UID).Take(1_000).ToList(); |
|
|
|
.OrderBy(b => b.UID).Take(5000).ToList(); |
|
|
|
var jisSeDetails = ObjectMapper.Map<List<TM_BJBMPT_JIS_RECORD>, List<BBAC_SE_DETAIL>>(wmsSeRecords); |
|
|
|
if (jisSeDetails.Any()) |
|
|
|
{ |
|
|
|