zhanghonglin
6 天以前 10775e2b00cee12fb4b405e18a507c629990051a
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs
@@ -1,4 +1,6 @@
锘縰sing AutoMapper;
using WIDESEAWCS_Core.Helper;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseRepository;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_IWMSPart;
@@ -19,6 +21,16 @@
        {
            _mapper = mapper;
        }
        public override WebResponseContent UpdateData(SaveModel saveModel)
        {
            int id = saveModel.MainData["id"].ObjToInt();
            int StockStatus = saveModel.MainData["stockStatus"].ObjToInt();
            int Remark = saveModel.MainData["remark"].ObjToInt();
            Dt_StockInfo locationInfo = BaseDal.QueryFirst(x => x.Id == id);
            locationInfo.StockStatus = StockStatus;
            locationInfo.Remark = Remark;
            return UpdateData(locationInfo);
            //return base.UpdateData(saveModel);
        }
    }
}