Пример #1
0
        /// <summary>
        /// 显示仓库
        /// </summary>
        /// <returns></returns>
        public WareHouseGetResponse GetWareHouses(WareHouseGetRequest request)
        {
            WareHouseGetResponse response = new WareHouseGetResponse();
            var list = wdal.GetWareHouses();

            if (list.Count < 0)
            {
                response.Status  = false;
                response.Message = "获取失败";
            }
            else
            {
                response.wareahouselist  = list;
                response.IsRegistSuccess = true;
                response.Message         = "获取成功";
            }
            return(response);
        }
Пример #2
0
 /// <summary>
 /// 获取信息
 /// </summary>
 /// <param name="getRequest"></param>
 /// <returns></returns>
 public WareHouseGetResponse WareHouseGet(WareHouseGetRequest getRequest)
 {
     return(ApiRequestHelper.Post <WareHouseGetRequest, WareHouseGetResponse>(getRequest));
 }
Пример #3
0
 public WareHouseGetResponse GetWareHouses(WareHouseGetRequest request)
 {
     return(wbll.GetWareHouses(request));
 }
 public JsonResult wareHouseShow(WareHouseGetRequest request)
 {
     return(Json(wbll.WareHouseGet(request)));
 }