Example #1
0
        private void GetWarehouseData()
        {
            string strError = string.Empty;
            List <WarehouseInfo> lstWarehouse = new List <WarehouseInfo>();

            if (Basic_Func.GetWarehouseListByUser(ref lstWarehouse, _user, true, ref strError))
            {
                _user.lstWarehouse = lstWarehouse;
            }
            else
            {
                Common_Func.ErrorMessage(strError, "获取用户仓库失败");
                return;
            }

            SetWarehouseData();
        }