Wms/WMS.DAL/Common.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Wms/WMS.DAL/Common.cs
@@ -20,7 +20,7 @@ { //public static readonly DataContext Db = new DataContext(); private readonly object GetMaxNoLock = new object(); /// <summary> /// 获取深度为1的储位号(根据深度为2的储位号) /// </summary> @@ -163,6 +163,8 @@ /// <returns></returns> public string GetMaxNo(string codeFlag) { lock (GetMaxNoLock) { try { var maxNo = ""; @@ -199,6 +201,7 @@ throw; } } } /// <summary> /// 根据前缀判断出当前最大单据号 /// </summary>