Beispiel #1
0
        /// <summary>
        /// 显示仓库
        /// </summary>
        /// <returns></returns>
        public CargoGetResponse GetCargo()
        {
            CargoGetResponse response = new CargoGetResponse();
            var list = cdal.GetCargo();

            if (list.Count < 0)
            {
                response.Status  = false;
                response.Message = "获取失败";
            }
            else
            {
                response.cargolist       = list;
                response.IsRegistSuccess = true;
                response.Message         = "获取成功";
            }
            return(response);
        }