林豪 左 2 年之前
父節點
當前提交
a760f86664
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      ServiceCenter/Attributes/LogAttribute .cs
  2. 1 0
      WCS.WorkEngineering/Systems/NoInteractionSystems.cs

+ 1 - 1
ServiceCenter/Attributes/LogAttribute .cs

@@ -50,7 +50,7 @@ namespace ServiceCenter.Attributes
             }
             var msg = $"方法:{LogFlag}-地址:{url}-方式:{method}-耗时:{Stopwatch.Elapsed.TotalMilliseconds}毫秒(指控制器内对应方法执行完毕的时间)\n" +
                       $"参数:{qs}\n " +
-                      $"结果:{res}\n ";
+                      $"结果:{res}";
             LogHub.InterfacePublish(LogFlag, msg);
         }
     }

+ 1 - 0
WCS.WorkEngineering/Systems/NoInteractionSystems.cs

@@ -62,6 +62,7 @@ namespace WCS.WorkEngineering.Systems
                                         AddWho = "WCS",
                                         Position = task.SrmStation
                                     };
+                                    if (task.Floor == 2 && agvTask.Position.IsNullOrEmpty()) return;
                                     db.Default.Insertable(agvTask).SplitTable().ExecuteCommand();
                                     //更新任务状态
                                     task.Status = Entity.TaskStatus.WaitingToExecute;