wms/TaskHelper.cs
@@ -13,6 +13,7 @@ using System.Threading.Tasks; using System.Web.Services.Description; using System.Xml.Linq; using Top.Api; using static HH.WCS.ZhongCeJinTan.util.Settings; using static HH.WCS.ZhongCeJinTan.wms.WcsModel; @@ -683,6 +684,17 @@ return ac; } internal static WcsSafety GetWcsSafety(string taskNo, string action) { var db = new SqlHelper<WcsSafety>().GetInstance(); var ac = db.Queryable<WcsSafety>().Where(a => a.TaskNo == taskNo && a.Sign.ToString() == action).First(); return ac; } /// <summary> /// 任务拦截