From 5a73b7ff0b5f063de61fd014feaa68d267630db9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 15:31:01 +0800
Subject: [PATCH] fix(stockChat): 修复驼峰命名并添加调试日志
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs
index 75feddd..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))
@@ -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;
}
--
Gitblit v1.9.3