1
Huangxiaoqiang-03
2024-11-06 f51582d5b4b498f28513f215f91828ef181df4a1
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/StockQuantityChangeRecordService.cs
@@ -17,6 +17,8 @@
    {
        public void AddStockChangeRecord(Dt_StockInfo stockInfo, List<Dt_StockInfoDetail> stockInfoDetails, decimal beforeQuantity, decimal totalQuantity, StockChangeType changeType,int taskNum)
        {
         try
         {
            List<Dt_StockQuantityChangeRecord> stockQuantityChangeRecords = new List<Dt_StockQuantityChangeRecord>();
            stockQuantityChangeRecords = _mapper.Map<List<Dt_StockQuantityChangeRecord>>(stockInfoDetails);
            int index = 0;
@@ -44,5 +46,10 @@
            });
            BaseDal.AddData(stockQuantityChangeRecords);
        }
         catch (Exception ex)
         {
            throw new Exception(ex.Message);
         }
        }
    }
}