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