wangxinhui
12 小时以前 9d75314e88f8aac494d57715e3231fe3540cb867
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs
@@ -1064,10 +1064,13 @@
            }
            return content;
        }
        private static object emptyBack_inbound = new object();
        /// <summary>
        /// ç©ºæ¡†å›žåº“
        /// </summary>
        public WebResponseContent EmptyBackTask(string barCode, string startPoint)
        {
            lock (emptyBack_inbound)
        {
            WebResponseContent content = new WebResponseContent();
            try
@@ -1098,7 +1101,7 @@
                //    return content.Error($"胶框{barCode}库存信息已存在");
                //}
                //todo:临时解绑
                Dt_ProStockInfo proStockInfo = _stockRepository.ProStockInfoRepository.QueryFirst(x => x.PalletCode == barCode);
                    Dt_ProStockInfo proStockInfo = _stockRepository.ProStockInfoRepository.QueryFirst(x => x.PalletCode == barCode && x.StockStatus == StockStatusEmun.出库完成.ObjToInt());
                if (_stockRepository.ProStockInfoRepository.QueryFirst(x => x.PalletCode == barCode) != null)
                {
                    proStockInfo.PalletCode = proStockInfo.PalletCode + ":" + DateTime.Now.ToString("MM/dd");
@@ -1137,5 +1140,7 @@
            }
            return content;
        }
        }
    }
}