Wms/WMS.BLL/LogServer/TaskServer.cs
@@ -136,5 +136,23 @@ throw new Exception(e.Message); } } public string GetTaskType(string taskNo) { try { var task = Db.Queryable<LogTask>().First(m => m.TaskNo == taskNo); if (task == null) { throw new Exception($"未查询到{taskNo}任务号的任务信息"); } return task.Type; } catch (Exception e) { throw new Exception(e.Message); } } } }