修改模块ID

This commit is contained in:
2023-06-20 19:56:06 +08:00
parent 5a4cbb95e7
commit 19c92e9b59
2 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ namespace Tnb.WarehouseMgr
/// <summary> /// <summary>
/// PDA库内转移 /// PDA库内转移
/// </summary> /// </summary>
[OverideVisualDev(ModuleConsts.MODULE_WMSTRANSFER_ID)] [OverideVisualDev(ModuleConsts.MODULE_WMSTRANSFERPDA_ID)]
[ServiceModule(BizTypeId)] [ServiceModule(BizTypeId)]
public class WmsPDATransferService : BaseWareHouseService, IPdaStroage public class WmsPDATransferService : BaseWareHouseService, IPdaStroage
{ {
@@ -65,7 +65,7 @@ namespace Tnb.WarehouseMgr
{ {
await _db.Ado.BeginTranAsync(); await _db.Ado.BeginTranAsync();
VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleConsts.MODULE_WMSTRANSFER_ID, true); VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleConsts.MODULE_WMSTRANSFERPDA_ID, true);
await _runService.Create(templateEntity, input); await _runService.Create(templateEntity, input);
// 计算路径,插入预任务申请 // 计算路径,插入预任务申请
WmsPointH sPoint = null; WmsPointH sPoint = null;

View File

@@ -30,7 +30,7 @@ namespace Tnb.WarehouseMgr
/// <summary> /// <summary>
/// 库内转移 /// 库内转移
/// </summary> /// </summary>
[OverideVisualDev(ModuleConsts.MODULE_WMSTRANSFERPDA_ID)] [OverideVisualDev(ModuleConsts.MODULE_WMSTRANSFER_ID)]
[ServiceModule(BizTypeId)] [ServiceModule(BizTypeId)]
public class WmsTransferService : BaseWareHouseService, IPdaStroage public class WmsTransferService : BaseWareHouseService, IPdaStroage
{ {
@@ -65,7 +65,7 @@ namespace Tnb.WarehouseMgr
{ {
await _db.Ado.BeginTranAsync(); await _db.Ado.BeginTranAsync();
VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleConsts.MODULE_WMSTRANSFERPDA_ID, true); VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleConsts.MODULE_WMSTRANSFER_ID, true);
await _runService.Create(templateEntity, input); await _runService.Create(templateEntity, input);
// 计算路径,插入预任务申请 // 计算路径,插入预任务申请
WmsPointH sPoint = null; WmsPointH sPoint = null;