Browse Source

修改 业务库移回调

Agv分支2024-11-19
郑勃旭 4 months ago
parent
commit
dc901f182c
  1. 4
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
  2. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs
  3. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs
  4. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs
  5. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs
  6. 7
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/IssuelRequests/KittingIssueRequests/KittingIssueRequestAppService.cs
  7. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/IssuelRequests/SparePartIssueRequests/SparePartIssueRequestAppService.cs

4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs

@ -447,7 +447,7 @@ public class AssembleIssueJobAppService
[HttpPost("Do-Call-Back")]
public async Task DoTransferLibCallbackAsync(TransferLibJobDTO dto)
{
var job = await _repository.FindAsync(p => p.Number == dto.CallJobNumber).ConfigureAwait(false);
var job = await _repository.FindAsync(p => p.Number == dto.CallJobNumber,true).ConfigureAwait(false);
if (job.JobStatus != EnumJobStatus.Wait)
{
@ -490,7 +490,7 @@ public class AssembleIssueJobAppService
var jobDto=ObjectMapper.Map<AssembleIssueJob, AssembleIssueJobDTO>(job);
var isDoingAgv=await DoingAgvAsync(jobDto, jobDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
var isDoingAgv=await DoingAgvAsync(jobDto, transferLibNoteDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
if (isDoingAgv)
{

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs

@ -263,7 +263,7 @@ public class CoatingIssueJobAppService
var jobDto = ObjectMapper.Map<CoatingIssueJob, CoatingIssueJobDTO>(job);
var isDoingAgv = await DoingAgvAsync(jobDto, jobDetail.TransferLibToLocationCode, jobDetail.HandledToLocationCode).ConfigureAwait(false);
var isDoingAgv = await DoingAgvAsync(jobDto, transferLibNoteDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
if (isDoingAgv)
{

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs

@ -259,7 +259,7 @@ public class InjectionIssueJobAppService
jobDetail.TransferLibToSupplierBatch = transferLibNoteDetail.HandledToSupplierBatch;
jobDetail.TransferLibToWarehouseCode = transferLibNoteDetail.HandledToWarehouseCode;
var jobDto = ObjectMapper.Map<InjectionIssueJob, InjectionIssueJobDTO>(job);
var isDoingAgv = await DoingAgvAsync(jobDto, jobDetail.TransferLibToLocationCode, jobDetail.HandledToLocationCode).ConfigureAwait(false);
var isDoingAgv = await DoingAgvAsync(jobDto, transferLibNoteDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
if (isDoingAgv)
{

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs

@ -259,7 +259,7 @@ public class KittingIssueJobAppService
var jobDto = ObjectMapper.Map<KittingIssueJob, KittingIssueJobDTO>(job);
var isDoingAgv = await DoingAgvAsync(jobDto, jobDetail.TransferLibToLocationCode, jobDetail.HandledToLocationCode).ConfigureAwait(false);
var isDoingAgv = await DoingAgvAsync(jobDto, transferLibNoteDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
if (isDoingAgv)
{

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs

@ -260,7 +260,7 @@ public class SparePartIssueJobAppService
var jobDto = ObjectMapper.Map<SparePartIssueJob, SparePartIssueJobDTO>(job);
var isDoingAgv = await DoingAgvAsync(jobDto, jobDetail.TransferLibToLocationCode, jobDetail.HandledToLocationCode).ConfigureAwait(false);
var isDoingAgv = await DoingAgvAsync(jobDto, transferLibNoteDetail.HandledToLocationCode, jobDetail.RecommendToLocationCode).ConfigureAwait(false);
if (isDoingAgv)
{

7
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/IssuelRequests/KittingIssueRequests/KittingIssueRequestAppService.cs

@ -190,10 +190,11 @@ public class KittingIssueRequestAppService : SfsStoreRequestAppServiceBase<Kitti
.ConfigureAwait(false);
if (kittingIssueJobDtos.Any(p =>
p.JobStatus == EnumJobStatus.Open || p.JobStatus == EnumJobStatus.Doing ||
p.JobStatus == EnumJobStatus.Partial||p.JobStatus== EnumJobStatus.Wait
p.JobStatus == EnumJobStatus.Open ||
p.JobStatus == EnumJobStatus.Doing ||
p.JobStatus == EnumJobStatus.Partial||
p.JobStatus == EnumJobStatus.Wait||
p.JobStatus == EnumJobStatus.WaitAgv
))
{
return;

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/IssuelRequests/SparePartIssueRequests/SparePartIssueRequestAppService.cs

@ -69,7 +69,7 @@ public class SparePartIssueRequestAppService : SfsStoreRequestAppServiceBase<Spa
sparePartIssueJobDto.JobStatus == EnumJobStatus.Partial ||
sparePartIssueJobDto.JobStatus == EnumJobStatus.Doing ||
sparePartIssueJobDto.JobStatus == EnumJobStatus.Wait ||
p.JobStatus == EnumJobStatus.WaitAgv
sparePartIssueJobDto.JobStatus == EnumJobStatus.WaitAgv
)

Loading…
Cancel
Save