/// <summary> /// 上架 /// </summary> /// <param name="Request"></param> /// <returns></returns> public bool InsertReceiptReceiving(IEnumerable <ReceiptReceiving> receiptReceivinglist, string name) { //Response<GetShelvesByConditionResponse> response = new Response<GetShelvesByConditionResponse>() { Result = new GetShelvesByConditionResponse() }; bool IsSuccess = false; try { ReceiptManagementAccessor accessor = new ReceiptManagementAccessor(); //response.Result.ReceiptReceiving IsSuccess = accessor.InsertReceiptReceiving(receiptReceivinglist, name); //response.IsSuccess = true; } catch (Exception ex) { //response.Exception = ex; //response.IsSuccess = false; throw ex; } return(IsSuccess); }