Example #1
0
 /// <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));
 }
Example #2
0
 public async Task <JsonResponse> BatchCreate(OrderInfoBatchRequestDto orderInfoBatchRequestDto)
 {
     return(await _orderAppService.BatchCreateAsync(orderInfoBatchRequestDto.OrderInfoRequestList));
 }