海波 张
3 小时以前 30b008a25cc30a32f1e2fdee4a34ae71146e990e
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>
        /// 任务拦截