From d82252f08a32f5786ffe231b7fd301b6a60781d6 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期六, 07 三月 2026 17:56:58 +0800
Subject: [PATCH] 解决代码冲突更新WCS日志记录
---
项目代码/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index 7169de3..002d2f5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -1,4 +1,5 @@
-锘縰sing HslCommunication.WebSocket;
+锘縰sing Autofac.Core;
+using HslCommunication.WebSocket;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -39,6 +40,17 @@
public WebResponseContent ReceiveWMSTask([FromBody] List<WMSTaskDTO> taskDTOs)
{
return Service.ReceiveWMSTask(taskDTOs);
+ }
+
+ /// <summary>
+ /// 浠诲姟閲嶆柊涓嬪彂
+ /// </summary>
+ /// <param name="taskNum"></param>
+ /// <returns></returns>
+ [HttpPost,HttpGet,Route("ResendTask"),AllowAnonymous]
+ public WebResponseContent ResendTask(int taskNum)
+ {
+ return Service.ResendTask(taskNum);
}
[HttpPost, HttpGet, Route("RequestAssignLocation"), AllowAnonymous]
@@ -125,6 +137,8 @@
{
return Service.RecWMSTaskCompleted(taskNum);
}
+
+
[HttpPost, HttpGet, Route("YLPurchasePush"), AllowAnonymous]
public WebResponseContent YLPurchasePush(string code)
{
@@ -152,5 +166,14 @@
return content.Error(ex.Message);
}
}
+ /// <summary>
+ /// 鑾峰彇鏁呴殰宸烽亾
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("ExistRoadwaysError"), AllowAnonymous]
+ public List<string> ExistRoadwaysError()
+ {
+ return RoadwayError.Roadways.Select(x => x.Roadway).Distinct().ToList();
+ }
}
}
--
Gitblit v1.9.3