/// <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); }
/// <summary> /// 获取信息 /// </summary> /// <param name="getRequest"></param> /// <returns></returns> public WareHouseGetResponse WareHouseGet(WareHouseGetRequest getRequest) { return(ApiRequestHelper.Post <WareHouseGetRequest, WareHouseGetResponse>(getRequest)); }
public WareHouseGetResponse GetWareHouses(WareHouseGetRequest request) { return(wbll.GetWareHouses(request)); }
public JsonResult wareHouseShow(WareHouseGetRequest request) { return(Json(wbll.WareHouseGet(request))); }