/// <summary> /// 批量新增 /// </summary> /// <param name="orderInfoBatchRequestDto"></param> /// <returns></returns> public async Task <JsonResponse> BatchCreate(OrderInfoBatchRequestDto orderInfoBatchRequestDto) { foreach (var orderInfoRequest in orderInfoBatchRequestDto.OrderInfoRequestList) { orderInfoRequest.ToLoginUser(); } return(await _orderAppService.BatchCreateAsync(orderInfoBatchRequestDto.OrderInfoRequestList)); }
public async Task <JsonResponse> BatchCreate(OrderInfoBatchRequestDto orderInfoBatchRequestDto) { return(await _orderAppService.BatchCreateAsync(orderInfoBatchRequestDto.OrderInfoRequestList)); }