schangxiang@126.com
2025-09-04 6f6f118881771a70feb186061ebb4ccd03a47e68
wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs
@@ -97,7 +97,7 @@
                throw ex;
            }
        }
        private static void AddRecord(dbmodel mod, OutInFlag _outInFlag, string positionName, task _task, string remark,
        public static void AddRecord(dbmodel mod, OutInFlag _outInFlag, string positionName, task _task, string remark,
            System.Collections.Generic.List<productStockList> productStocks, taskType currentTaskType)
        {
            try
@@ -172,7 +172,7 @@
            var stock = mod.productStock.Where(a => a.containerCode == _task.containerCode).FirstOrDefault();
            if (stock != null)
            {
                System.Collections.Generic.List<productStockList> productStocks = mod.productStockList.Where(a => a.stockId == stock.stockId).ToList();
                System.Collections.Generic.List<productStockList> productStocks = mod.productStockList.Where(a => a.stockId == stock.positionId).ToList();
                AddRecord(mod, _outInFlag, positionName, _task, remark,
                productStocks, currentTaskType);
            }