diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/DTOs/LocationDTO.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/DTOs/LocationDTO.cs
index 23e3c282b..f9853e7d3 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/DTOs/LocationDTO.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/DTOs/LocationDTO.cs
@@ -189,4 +189,10 @@ public class LocationDTO : SfsBaseDataDTOBase, IHasCode, IHasName, IHasLocationS
///
[Display(Name = "是否可以拆托")]
public bool EnableSplitPallet { get; set; } = true;
+
+ ///
+ /// 是否AGV配送
+ ///
+ [Display(Name = "是否AGV配送")]
+ public bool EnableAgv { get; set; } = false; //是否AGV配送
}
diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationEditInput.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationEditInput.cs
index 344092efd..778ff5b0b 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationEditInput.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationEditInput.cs
@@ -177,6 +177,12 @@ public class LocationEditInput : SfsBaseDataWithWarehouseCreateOrUpdateInputBase
///
[Display(Name = "是否可以拆托")]
public bool EnableSplitPallet { get; set; } = true;
+
+ ///
+ /// 是否AGV配送
+ ///
+ [Display(Name = "是否AGV配送")]
+ public bool EnableAgv { get; set; } = false; //是否AGV配送
#endregion
#region Create
diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationImportInput.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationImportInput.cs
index 2a2e2e0ab..779570265 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationImportInput.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Locations/Inputs/LocationImportInput.cs
@@ -210,6 +210,12 @@ public class LocationImportInput : SfsBaseDataImportInputBase, IHasLocationSwitc
[Required(ErrorMessage = "{0}是必填项")]
public bool EnableSplitPallet { get; set; } = true;
+ ///
+ /// 是否AGV配送
+ ///
+ [Display(Name = "是否AGV配送")]
+ public bool EnableAgv { get; set; } = false; //是否AGV配送
+
///
/// 描述
///
diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/PostionLocations/DTOs/PostionLocationDTO.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/PostionLocations/DTOs/PostionLocationDTO.cs
index 5eb85aa0b..59a8cad02 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/PostionLocations/DTOs/PostionLocationDTO.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/PostionLocations/DTOs/PostionLocationDTO.cs
@@ -5,7 +5,7 @@ using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Basedata.Application.Contracts;
///
-/// 库位
+/// 工作站库位对应关系
///
[Display(Name = "工作站库位对应关系")]
public class PostionLocationDTO : SfsBaseDataDTOBase, IHasCode, IHasName
diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/Locations/Location.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/Locations/Location.cs
index a24ab05e7..a34cb3a29 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/Locations/Location.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/Locations/Location.cs
@@ -98,5 +98,5 @@ public class Location : SfsBaseDataAggregateRootBase, IHasCode, IHasName, IHasLo
public bool EnableReturnFromCustomer { get; set; } = true; // 可以接收客户退货
public bool EnableSplitBox { get; set; } = true; //是否可以拆箱
public bool EnableSplitPallet { get; set; } = true; //是否可以拆托
-
+ public bool EnableAgv { get; set; } = false; //是否AGV配送
}
diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/PostionLocations/PostionLocation.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/PostionLocations/PostionLocation.cs
index ab0a7cfe5..7f9978bd7 100644
--- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/PostionLocations/PostionLocation.cs
+++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/PostionLocations/PostionLocation.cs
@@ -4,14 +4,16 @@ using Win_in.Sfs.Shared.Domain.Entities;
using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Basedata.Domain;
-
+///
+/// 工位 库位 关系
+///
public class PostionLocation : SfsBaseDataAggregateRootBase, IHasCode, IHasName
{
///
/// 代码
///
[IgnoreUpdate]
- [Display(Name ="工作站编号")]
+ [Display(Name = "工位代码")]
public string Code { get; set; }
///
@@ -25,82 +27,4 @@ public class PostionLocation : SfsBaseDataAggregateRootBase, IHasCode, IHasName
///
[Display(Name ="库位")]
public string LocationCode { get; set; }
-
- /////
- ///// 库位类型
- /////
- //public EnumLocationType Type { get; set; }
-
- /////
- ///// ERP系统库位代码
- /////
- //public string ErpLocationCode { get; set; }
-
- /////
- ///// 仓库代码
- /////
- //public string WarehouseCode { get; set; }
-
- /////
- ///// 区域代码
- /////
- //public string AreaCode { get; set; }
-
- /////
- ///// 库位组代码
- /////
- //public string LocationGroupCode { get; set; }
-
- /////
- ///// 工作组代码
- /////
- //public string WorkGroupCode { get; set; }
-
- /////
- ///// 货架号
- /////
- //public string ShelfCode { get; set; }
-
- /////
- ///// 行号
- /////
- //public int RowCode { get; set; }
-
- /////
- ///// 列号
- /////
- //public int ColumnCode { get; set; }
-
- /////
- ///// 默认库存状态
- /////
- //public EnumInventoryStatus DefaultInventoryStatus { get; set; }
-
- /////
- ///// 拣料优先级
- /////
- //public int PickPriority { get; set; }
-
- /////
- ///// 拣料顺序
- /////
- //public int PickOrder { get; set; }
-
- //public bool EnableMixItem { get; set; } = true; // 可以混物品
- //public bool EnableMixLot { get; set; } = true; // 可以混批次
- //public bool EnableMixStatus { get; set; } = true; // 可以混状态
- //public bool EnableNegative { get; set; } = true; // 可以负库存
- //public bool EnableKeepZero { get; set; } = true; // 可以保留零库存
- //public bool EnableOpportunityCount { get; set; } = true; // 可以机会盘点
- //public bool EnablePick { get; set; } = true; // 可以领料
- //public bool EnableOverPick { get; set; } = true; // 可以过量领料
- //public bool EnableWholeStore { get; set; } = true; // 可以整包存储
- //public bool EnableBreakStore { get; set; } = true; // 可以散件存储
- //public bool EnableShip { get; set; } = true; // 可以发出
- //public bool EnableReceive { get; set; } = true; // 可以接收
- //public bool EnableReturnToSupplier { get; set; } = true; // 可以退货给供应商
- //public bool EnableReturnFromCustomer { get; set; } = true; // 可以接收客户退货
- //public bool EnableSplitBox { get; set; } = true; //是否可以拆箱
- //public bool EnableSplitPallet { get; set; } = true; //是否可以拆托
-
}
diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Job/EnumJobStatus.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Job/EnumJobStatus.cs
index b626f9ef6..d7666bdfe 100644
--- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Job/EnumJobStatus.cs
+++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Job/EnumJobStatus.cs
@@ -52,4 +52,10 @@ public enum EnumJobStatus
///
[Display(Name = "待库移")]
Wait=30,
+
+ ///
+ /// 待AGV库移
+ ///
+ [Display(Name = "待AGV库移")]
+ WaitAgv = 31,
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
index 4f9f966a0..829fd4645 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
@@ -87,7 +87,7 @@ public class AssembleIssueJobAppService
{
await CheckMinRowAndSetStatusAsync(input).ConfigureAwait(false);
//如果是立库 就给直接承接了
- var dimensionalStorehouseflag = await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
+ var dimensionalStorehouseflag = await UpdateJobStatusWaitByDimensionalStorehouseAsync(input).ConfigureAwait(false);
if (dimensionalStorehouseflag)
{
input.IsClaims = true;
@@ -98,12 +98,26 @@ public class AssembleIssueJobAppService
? "LYF"
: _options.Value.StereosPassword;
}
+
+ //如果是Agv
+ var agvFlag = await UpdateJobStatusWaitByAgvAsync(input).ConfigureAwait(false);
+ if (agvFlag)
+ {
+ input.IsClaims = true;
+ input.ClaimsUserId = string.IsNullOrEmpty(_options.Value.StereosUser)
+ ? "AGV"
+ : _options.Value.StereosUser;
+ input.ClaimsUserName = string.IsNullOrEmpty(_options.Value.StereosPassword)
+ ? "AGV"
+ : _options.Value.StereosPassword;
+ }
}
var assembleIssueJobDtos = await base.CreateManyAsync(inputs).ConfigureAwait(false);
foreach (var assembleIssueJobDto in assembleIssueJobDtos)
{
- await CheckDimensionalStorehouseAsync(assembleIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(assembleIssueJobDto).ConfigureAwait(false);
+ await DoingAgvAsync(assembleIssueJobDto).ConfigureAwait(false);
}
return assembleIssueJobDtos;
@@ -113,10 +127,12 @@ public class AssembleIssueJobAppService
public override async Task CreateAsync(AssembleIssueJobEditInput input)
{
await CheckMinRowAndSetStatusAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
+ await UpdateJobStatusWaitByDimensionalStorehouseAsync(input).ConfigureAwait(false);
+ await UpdateJobStatusWaitByAgvAsync(input).ConfigureAwait(false);
var assembleIssueJobDto = await base.CreateAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(assembleIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(assembleIssueJobDto).ConfigureAwait(false);
+ await DoingAgvAsync(assembleIssueJobDto).ConfigureAwait(false);
return assembleIssueJobDto;
}
@@ -436,17 +452,61 @@ public class AssembleIssueJobAppService
[HttpPost("get-job-by-packing/{packingCode}")]
public virtual async Task GetJobByPackingCodeAsync(string packingCode)
{
- var list=await _repository.GetListAsync(p => p.Details.Any(r => r.RecommendFromPackingCode==packingCode)).ConfigureAwait(false);
+ var list = await _repository.GetListAsync(p => p.Details.Any(r => r.RecommendFromPackingCode == packingCode)).ConfigureAwait(false);
if (list == null || list.Count < 1)
{
throw new UserFriendlyException("未找到该箱码的任务");
}
- var dto=ObjectMapper.Map(list.First());
+ var dto = ObjectMapper.Map(list.First());
return dto;
}
#region 立库
+ ///
+ /// 调用立体库
+ ///
+ ///
+ ///
+ private async Task DoingDimensionalStorehouseAsync(AssembleIssueJobDTO assembleIssueJobDto)
+ {
+ var jobDetailInputdetail = assembleIssueJobDto.Details.FirstOrDefault();
+ var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
+ .ConfigureAwait(false);
+
+ if (loctionDto.Type == EnumLocationType.DimensionalStorehouse)
+ {
+ //TODO 立体库
+ var ret = await SyncIssueJobStereoAsync(new List { assembleIssueJobDto },
+ jobDetailInputdetail.RecommendToLocationCode, assembleIssueJobDto.Id).ConfigureAwait(false);
+ if (ret.Code != 0)
+ {
+ throw new UserFriendlyException($"调用立体库不成功!原因:{ret.Message}");
+ }
+ }
+ }
+
+ ///
+ /// 判断是不是在立体库
+ ///
+ ///
+ ///
+ private async Task UpdateJobStatusWaitByDimensionalStorehouseAsync(AssembleIssueJobEditInput input)
+ {
+ var jobDetailInputdetail = input.Details.FirstOrDefault();
+
+ var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
+ .ConfigureAwait(false);
+
+ if (loctionDto.Type == EnumLocationType.DimensionalStorehouse)
+ {
+ input.JobStatus = EnumJobStatus.Wait;
+ return true;
+ }
+
+ return false;
+ }
+
///
/// 立体库同步
///
@@ -592,7 +652,7 @@ public class AssembleIssueJobAppService
foreach (var itm in dtos)
{
-
+
var first = jobs.FirstOrDefault(p => p.JobNumber == itm.Number);
var itmDetails = itm.Details.ToList();
var details = new List();
@@ -710,6 +770,74 @@ public class AssembleIssueJobAppService
#endregion
+ #region Agv
+
+ ///
+ /// 调用AGV
+ ///
+ ///
+ ///
+ private async Task DoingAgvAsync(AssembleIssueJobDTO assembleIssueJobDto)
+ {
+ var jobDetailInputdetail = assembleIssueJobDto.Details.FirstOrDefault();
+ var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
+ .ConfigureAwait(false);
+
+ if (loctionDto.EnableAgv)
+ {
+ //TODO AGV
+ var ret = await SyncIssueJobStereoAsync(new List { assembleIssueJobDto },
+ jobDetailInputdetail.RecommendToLocationCode, assembleIssueJobDto.Id).ConfigureAwait(false);
+ if (ret.Code != 0)
+ {
+ throw new UserFriendlyException($"调用AGV不成功!原因:{ret.Message}");
+ }
+ }
+ }
+
+
+ ///
+ /// 判断是不是有Agv
+ ///
+ ///
+ ///
+ private async Task UpdateJobStatusWaitByAgvAsync(AssembleIssueJobEditInput input)
+ {
+ var jobDetailInputdetail = input.Details.FirstOrDefault();
+
+ var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
+ .ConfigureAwait(false);
+
+ if (loctionDto.EnableAgv)
+ {
+ input.JobStatus = EnumJobStatus.WaitAgv;
+ return true;
+ }
+
+ return false;
+ }
+
+ ///
+ /// 调用 Agv 接口
+ ///
+ ///
+ ///
+ ///
+ ///
+ [HttpPost("call-agv")]
+ public async Task CallAgvAsync(List input)
+ {
+ return null;
+ }
+
+ [HttpPost("call-back-agv")]
+ public virtual async Task CallBackAgvAsync(IssueRequestFromRestoDTO input)
+ {
+ return null;
+ }
+
+ #endregion
+
#region 私有
///
@@ -776,70 +904,6 @@ public class AssembleIssueJobAppService
}
}
- ///
- /// 判断是不是在立体库
- ///
- ///
- ///
-
- //private async Task CheckDimensionalStorehouseAsync(AssembleIssueJobEditInput input)
- //{
-
-
- // var jobDetailInputdetail = input.Details.FirstOrDefault();
-
- // var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
- // .ConfigureAwait(false);
-
- // if (loctionDto.Type == EnumLocationType.DimensionalStorehouse)
- // {
- // input.JobStatus = EnumJobStatus.Wait;
- // }
- //}
- ///
- /// 判断是不是在立体库
- ///
- ///
- ///
- private async Task CheckDimensionalStorehouseAsync(AssembleIssueJobEditInput input)
- {
- var jobDetailInputdetail = input.Details.FirstOrDefault();
-
- var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
- .ConfigureAwait(false);
-
- if (loctionDto.Type == EnumLocationType.DimensionalStorehouse)
- {
- input.JobStatus = EnumJobStatus.Wait;
- return true;
- }
-
- return false;
- }
-
- ///
- /// 判断是不是在立体库
- ///
- ///
- ///
- private async Task CheckDimensionalStorehouseAsync(AssembleIssueJobDTO assembleIssueJobDto)
- {
- var jobDetailInputdetail = assembleIssueJobDto.Details.FirstOrDefault();
- var loctionDto = await _locationAppService.GetByCodeAsync(jobDetailInputdetail.RecommendFromLocationCode)
- .ConfigureAwait(false);
-
- if (loctionDto.Type == EnumLocationType.DimensionalStorehouse)
- {
- //TODO 立体库
- var ret = await SyncIssueJobStereoAsync(new List { assembleIssueJobDto },
- jobDetailInputdetail.RecommendToLocationCode, assembleIssueJobDto.Id).ConfigureAwait(false);
- if (ret.Code != 0)
- {
- throw new UserFriendlyException($"调用立体库不成功!原因:{ret.Message}");
- }
- }
- }
-
///
/// 修改当前任务状态 和 该任务的请求状态
///
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs
index cc142eca0..544eb2826 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/CoatingIssueJobs/CoatingIssueJobAppService.cs
@@ -92,7 +92,7 @@ public class CoatingIssueJobAppService
var coatingIssueJobDtos = await base.CreateManyAsync(inputs).ConfigureAwait(false);
foreach (var coatingIssueJobDto in coatingIssueJobDtos)
{
- await CheckDimensionalStorehouseAsync(coatingIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(coatingIssueJobDto).ConfigureAwait(false);
}
return coatingIssueJobDtos;
@@ -105,7 +105,7 @@ public class CoatingIssueJobAppService
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
var coatingIssueJobDto = await base.CreateAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(coatingIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(coatingIssueJobDto).ConfigureAwait(false);
return coatingIssueJobDto;
}
@@ -637,11 +637,11 @@ public class CoatingIssueJobAppService
}
///
- /// 判断是不是在立体库
+ /// 调用立体库
///
///
///
- private async Task CheckDimensionalStorehouseAsync(CoatingIssueJobDTO coatingIssueJobDto)
+ private async Task DoingDimensionalStorehouseAsync(CoatingIssueJobDTO coatingIssueJobDto)
{
var jobDetailInputdetail = coatingIssueJobDto.Details.FirstOrDefault();
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs
index 38de02d7f..558a6b7d7 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/InjectionIssueJobs/InjectionIssueJobAppService.cs
@@ -84,7 +84,7 @@ public class InjectionIssueJobAppService
var injectionIssueJobDtos = await base.CreateManyAsync(inputs).ConfigureAwait(false);
foreach (var injectionIssueJobDto in injectionIssueJobDtos)
{
- await CheckDimensionalStorehouseAsync(injectionIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(injectionIssueJobDto).ConfigureAwait(false);
}
return injectionIssueJobDtos;
@@ -97,7 +97,7 @@ public class InjectionIssueJobAppService
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
var injectionIssueJobDto = await base.CreateAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(injectionIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(injectionIssueJobDto).ConfigureAwait(false);
return injectionIssueJobDto;
}
@@ -590,11 +590,11 @@ public class InjectionIssueJobAppService
}
///
- /// 判断是不是在立体库
+ /// 调用立体库
///
///
///
- private async Task CheckDimensionalStorehouseAsync(InjectionIssueJobDTO injectionIssueJobDto)
+ private async Task DoingDimensionalStorehouseAsync(InjectionIssueJobDTO injectionIssueJobDto)
{
var jobDetailInputdetail = injectionIssueJobDto.Details.FirstOrDefault();
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs
index f7ced55b9..59cb8d340 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/KittingIssueJobs/KittingIssueJobAppService.cs
@@ -92,7 +92,7 @@ public class KittingIssueJobAppService
var kittingIssueJobDtos = await base.CreateManyAsync(inputs).ConfigureAwait(false);
foreach (var kittingIssueJobDto in kittingIssueJobDtos)
{
- await CheckDimensionalStorehouseAsync(kittingIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(kittingIssueJobDto).ConfigureAwait(false);
}
return kittingIssueJobDtos;
@@ -105,7 +105,7 @@ public class KittingIssueJobAppService
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
var kittingIssueJobDto = await base.CreateAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(kittingIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(kittingIssueJobDto).ConfigureAwait(false);
return kittingIssueJobDto;
}
@@ -600,11 +600,11 @@ public class KittingIssueJobAppService
}
///
- /// 判断是不是在立体库
+ /// 调用立体库
///
///
///
- private async Task CheckDimensionalStorehouseAsync(KittingIssueJobDTO kittingIssueJobDto)
+ private async Task DoingDimensionalStorehouseAsync(KittingIssueJobDTO kittingIssueJobDto)
{
var jobDetailInputdetail = kittingIssueJobDto.Details.FirstOrDefault();
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs
index f481bddf1..f93a88714 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/SparePartIssueJobs/SparePartIssueJobAppService.cs
@@ -85,7 +85,7 @@ public class SparePartIssueJobAppService
var sparePartIssueJobDtos = await base.CreateManyAsync(inputs).ConfigureAwait(false);
foreach (var sparePartIssueJobDto in sparePartIssueJobDtos)
{
- await CheckDimensionalStorehouseAsync(sparePartIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(sparePartIssueJobDto).ConfigureAwait(false);
}
return sparePartIssueJobDtos;
@@ -98,7 +98,7 @@ public class SparePartIssueJobAppService
await CheckDimensionalStorehouseAsync(input).ConfigureAwait(false);
var sparePartIssueJobDto = await base.CreateAsync(input).ConfigureAwait(false);
- await CheckDimensionalStorehouseAsync(sparePartIssueJobDto).ConfigureAwait(false);
+ await DoingDimensionalStorehouseAsync(sparePartIssueJobDto).ConfigureAwait(false);
return sparePartIssueJobDto;
}
@@ -581,11 +581,11 @@ public class SparePartIssueJobAppService
}
///
- /// 判断是不是在立体库
+ /// 调用立体库
///
///
///
- private async Task CheckDimensionalStorehouseAsync(SparePartIssueJobDTO sparePartIssueJobDto)
+ private async Task DoingDimensionalStorehouseAsync(SparePartIssueJobDTO sparePartIssueJobDto)
{
var jobDetailInputdetail = sparePartIssueJobDto.Details.FirstOrDefault();