From ff5bfc0035fc61121570889d4f3c9aac63364a1b Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 09:32:06 +0800
Subject: [PATCH] docs: 添加 MES 电芯绑定解绑集成实现计划

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index ee6b07a..81bbbf0 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -381,7 +381,7 @@
                 };
                 var taskDtos = task.Adapt<WMSTaskDTO>();
 
-                var addResult = await BaseDal.AddDataAsync(task);
+                var addResult = await BaseDal.AddDataAsync(task) > 0;
                 if (!addResult)
                     return WebResponseContent.Instance.Error("浠诲姟鍒涘缓澶辫触");
                 return WebResponseContent.Instance.OK("浠诲姟鍒涘缓鎴愬姛", taskDtos);

--
Gitblit v1.9.3