|
@@ -4934,7 +4934,7 @@ public class OrderController : BaseController
|
|
|
if (dto.Files.Any())
|
|
|
model.FileJson = await _fileRepository.AddFileAsync(dto.Files, model.Id, "", HttpContext.RequestAborted);
|
|
|
await _orderSpecialRepository.AddAsync(model, HttpContext.RequestAborted);
|
|
|
- if (dto.ReTransactError.Any())
|
|
|
+ if (dto.ReTransactError != null && dto.ReTransactError.Any())
|
|
|
{
|
|
|
List<OrderSpecialDetail> details = new();
|
|
|
foreach (var item in dto.ReTransactError)
|