From f5432e77f687c1efb8c1f488c9032f73616efb23 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 15 5月 2025 09:02:56 +0800
Subject: [PATCH] 2

---
 PipeLineLems/server/src/CMS.Plugin.PipeLineLems.Application/Implements/SharedService.cs |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.Application/Implements/SharedService.cs b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.Application/Implements/SharedService.cs
index c3dc2d5..5b134ea 100644
--- a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.Application/Implements/SharedService.cs
+++ b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.Application/Implements/SharedService.cs
@@ -48,13 +48,13 @@
         var materialProvider = _serviceProvider.GetRequiredService<IMaterialProvider>();
         var workPlanAppService = _serviceProvider.GetRequiredService<IWorkPlanAppService>();
 
-        Dictionary<string, object?> keyValuePairs = new Dictionary<string, object?>
-                    {
-                        { "鍒嗘嫞鎵樼洏鍙�","鎵樼洏1"},
-                        { "鍒嗘嫞鏂瑰悜", "鐭瑁呴厤"},
-                        { "鍒嗘嫞浜�", myCurrentUser.UserAccount }
-                    };
-        _variableService.WriteValueAsync(keyValuePairs);
+        //Dictionary<string, object?> keyValuePairs = new Dictionary<string, object?>
+        //            {
+        //                { "鍒嗘嫞鎵樼洏鍙�","鎵樼洏1"},
+        //                { "鍒嗘嫞鏂瑰悜", "鐭瑁呴厤"},
+        //                { "鍒嗘嫞浜�", myCurrentUser.UserAccount }
+        //            };
+        //_variableService.WriteValueAsync(keyValuePairs);
 
         //鏍规嵁宸ュ簭鍚嶈幏鍙栧伐搴忓璞�
         var workSection = await _workSectionManager.GetByNameAsync("鍒嗘嫞宸ュ簭");
@@ -129,6 +129,14 @@
             {
                 _value = "鐭瑁呴厤";
             }
+            if (item.Name == "鍒嗘嫞鎵樼洏鍙�")
+            {
+                _value = input.ContinerNo;
+            }
+            if (item.Name == "鍒嗘嫞浜�")
+            {
+                _value = myCurrentUser.UserAccount;
+            }
             //item.Key
             TraceParamModel traceParamModel = new TraceParamModel()
             {

--
Gitblit v1.9.3