|
@ -311,9 +311,14 @@ public class KittingIssueJobAppService |
|
|
if (loctionDto.Type == EnumLocationType.DimensionalStorehouse) |
|
|
if (loctionDto.Type == EnumLocationType.DimensionalStorehouse) |
|
|
{ |
|
|
{ |
|
|
//TODO 立体库
|
|
|
//TODO 立体库
|
|
|
await SyncCoatingJobStereoAsync(new List<KittingIssueJobDTO> { kittingIssueJobDto }, loctionDto.Code).ConfigureAwait(false); |
|
|
var ret = await SyncCoatingJobStereoAsync(new List<KittingIssueJobDTO> { kittingIssueJobDto }, loctionDto.Code).ConfigureAwait(false); |
|
|
|
|
|
if (ret.Code != "1") |
|
|
|
|
|
{ |
|
|
|
|
|
throw new UserFriendlyException($"调用立体库不成功!原因:{ret.Message}"); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
@ -354,7 +359,7 @@ public class KittingIssueJobAppService |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//[HttpPost("sync-issue-job-stereo")]
|
|
|
|
|
|
private async Task<ReusltObject> SyncCoatingJobStereoAsync(List<KittingIssueJobDTO> input,string p_loc) |
|
|
private async Task<ReusltObject> SyncCoatingJobStereoAsync(List<KittingIssueJobDTO> input,string p_loc) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
@ -386,6 +391,7 @@ public class KittingIssueJobAppService |
|
|
|
|
|
|
|
|
#if DEBUG
|
|
|
#if DEBUG
|
|
|
string json= System.Text.Json.JsonSerializer.Serialize(main); |
|
|
string json= System.Text.Json.JsonSerializer.Serialize(main); |
|
|
|
|
|
_options.Value.Address = "http://localhost:59094/CargoState/SyncCoatingJobStereo";//测试地址
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#region
|
|
|
#region
|
|
|