From 38493e059090c331f094eef2e4ad597fa6abf264 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng <1939543722@qq.com> Date: Tue, 9 Apr 2024 18:53:34 +0800 Subject: [PATCH] 123123 --- EntrustSettle.Api/Controllers/OrderController.cs | 4 +++- EntrustSettle.Model/Dtos/Queue/StatusPushDto.cs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/EntrustSettle.Api/Controllers/OrderController.cs b/EntrustSettle.Api/Controllers/OrderController.cs index ce2f7fb..ca67bee 100644 --- a/EntrustSettle.Api/Controllers/OrderController.cs +++ b/EntrustSettle.Api/Controllers/OrderController.cs @@ -156,7 +156,9 @@ namespace EntrustSettle.Api.Controllers orderList.Add(order); } unitOfWorkManage.BeginTran(); - var orderIdList = await orderService.Add(orderList); + var orderHasIdList = await orderService.AsInsertable(orderList.ToArray()).ExecuteCommandAsync(); + //var orderIdList = orderHasIdList + //var orderIdList = await orderService.Add(orderList); // 附件关联信息保存 if (inputDto.AnnexIdList?.Count > 0) diff --git a/EntrustSettle.Model/Dtos/Queue/StatusPushDto.cs b/EntrustSettle.Model/Dtos/Queue/StatusPushDto.cs index 3f73668..63ac614 100644 --- a/EntrustSettle.Model/Dtos/Queue/StatusPushDto.cs +++ b/EntrustSettle.Model/Dtos/Queue/StatusPushDto.cs @@ -7,6 +7,7 @@ namespace EntrustSettle.Model.Dtos /// public class StatusPushDto : BasePushDto { + /// /// 状态编码 已下单=0 已接单=1 待缴费=2 已缴费=3 已完结=4 ///