From ce1292c9cf37195b6abd2699dfc5d6cb3e143c9b Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 12 四月 2026 23:38:19 +0800
Subject: [PATCH] feat(MES): 添加MES接口相关实体和DTO JS扩展文件至JSX格式并更新配置
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs
index 35ef6b0..bb7f55e 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs
@@ -55,7 +55,7 @@
// 鑾峰彇浠诲姟鏁伴噺
int taskNum = task.TaskNum;
// 鑾峰彇浠诲姟鐘舵��
- int taskState = task.TaskState;
+ int taskState = task.TaskStatus;
// 灏濊瘯灏嗕换鍔$姸鎬佽浆鎹负TaskOutStatusEnum鏋氫妇绫诲瀷
if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result))
@@ -99,7 +99,7 @@
}
catch (Exception ex)
{
-
+ Console.WriteLine($"AddTaskExecuteDetail 娣诲姞浠诲姟鎵ц璇︽儏澶辫触: {ex.Message}");
}
}
@@ -114,7 +114,7 @@
Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == item);
if (task == null) return;
int taskNum = task.TaskNum;
- int taskState = task.TaskState;
+ int taskState = task.TaskStatus;
if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result))
{
@@ -212,7 +212,7 @@
{
throw new Exception($"浠诲姟绫诲瀷閿欒,鏈壘鍒拌浠诲姟绫诲瀷,浠诲姟鍙�:銆恵taskNum}銆�,浠诲姟绫诲瀷:銆恵task.TaskType}銆�");
}
- active = steps.IndexOf(task.TaskState) + 1;
+ active = steps.IndexOf(task.TaskStatus) + 1;
}
@@ -220,7 +220,7 @@
}
catch (Exception ex)
{
-
+ content = WebResponseContent.Instance.Error($"鑾峰彇浠诲姟璇︽儏澶辫触: {ex.Message}");
}
return content;
}
@@ -244,7 +244,7 @@
}
catch (Exception ex)
{
-
+ content = WebResponseContent.Instance.Error($"鑾峰彇浠诲姟璇︽儏澶辫触: {ex.Message}");
}
return content;
}
--
Gitblit v1.9.3