diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
index 84d82bf2..039aa940 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
@@ -168,5 +168,9 @@ public class ModuleConsts
/// 模块标识-仓库定义
///
public const string MODULE_WMSWAREHOUSEDEFINITION_ID = "25905106252053";
+ ///
+ /// 模块标识-路段管理
+ ///
+ public const string MODULE_WMSROAD_ID = "26100621140773";
}
\ No newline at end of file
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/ExcelDataImportManager.cs b/WarehouseMgr/Tnb.WarehouseMgr/ExcelDataImportManager.cs
index 9e53412f..59da2dc3 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/ExcelDataImportManager.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/ExcelDataImportManager.cs
@@ -81,5 +81,10 @@ namespace Tnb.WarehouseMgr
}
return Task.FromResult(dics);
}
+
+ public async Task GenImportTemplate(params string[] fields)
+ {
+ return null;
+ }
}
}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmRoadService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmRoadService.cs
new file mode 100644
index 00000000..6aad2e34
--- /dev/null
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmRoadService.cs
@@ -0,0 +1,32 @@
+using System;
+using System.CodeDom;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using JNPF.VisualDev;
+using Microsoft.AspNetCore.Http;
+using SqlSugar;
+using Tnb.WarehouseMgr.Entities;
+
+namespace Tnb.WarehouseMgr
+{
+ ///
+ /// 路段管理服务类
+ ///
+ [OverideVisualDev(ModuleConsts.MODULE_WMSROAD_ID)]
+ public class WmRoadService : ExcelDataImportManager
+ {
+ private readonly ISqlSugarClient _db;
+ public WmRoadService(ISqlSugarRepository repository)
+ {
+ _db =repository.AsSugarClient();
+ OverideFuncs.ImportAsync = DataImport;
+ }
+
+ private async Task DataImport(IFormFile file)
+ {
+ return Task.FromResult(null);
+ }
+ }
+}
diff --git a/apihost/Tnb.API.Entry/Configurations/AgvRequestCfgUrl.json b/apihost/Tnb.API.Entry/Configurations/AgvRequestCfgUrl.json
index 21be4b8e..2f799d66 100644
--- a/apihost/Tnb.API.Entry/Configurations/AgvRequestCfgUrl.json
+++ b/apihost/Tnb.API.Entry/Configurations/AgvRequestCfgUrl.json
@@ -1,6 +1,6 @@
{
"AgvRequestUrls": {
- "CreateTaskChainUrl": "http://localhost/api/task‑chain/create",
- "CancelTaskChainUrl": "http://localhost/api/task‑chain/cancel"
+ "CreateTaskChainUrl": "http://192.168.11.104:1880/localhost/api/task‑chain/create",
+ "CancelTaskChainUrl": "http://192.168.11.104:1880/api/task‑chain/cancel"
}
}
\ No newline at end of file