/// <summary> /// 编辑仓库信息 /// </summary> /// <param name="entity"></param> /// <returns></returns> public static bool Edit(StockInfo entity) { if (!PreCheckStock(entity)) { return(false); } entity.StoreCompanyCode = entity.CompanyCode; return(StockDA.Edit(entity)); }