Kaynağa Gözat

省工单退回

Dun.Jason 6 ay önce
ebeveyn
işleme
e19732f84f

+ 4 - 0
src/Hotline.Application/Subscribers/DatasharingSubscriber.cs

@@ -170,6 +170,10 @@ namespace Hotline.Application.Subscribers
                 {
                     order.Status = EOrderStatus.WaitForAccept;
                 }
+                if (dto.Result is 1)
+                    order.ProvinceSendBack = true;
+                else
+                    order.ProvinceSendBack = false;
                 await _orderRepository.UpdateAsync(order, cancellationToken);
 
                 //if (dto.Result is 1)

+ 7 - 1
src/Hotline.Share/Dtos/Order/OrderDto.cs

@@ -695,7 +695,13 @@ namespace Hotline.Share.Dtos.Order
         /// 省撤单信息
         /// </summary>
         public string ProvinceRevokeString { get; set; }
-      
+
+        /// <summary>
+        /// 省工单退回
+        /// </summary>
+        public bool? ProvinceSendBack { get; set; }
+
+
     }
 
     public class UpdateOrderDto : AddOrderDto

+ 6 - 0
src/Hotline/Orders/Order.cs

@@ -855,6 +855,12 @@ namespace Hotline.Orders
         [SugarColumn(ColumnDescription = "工单标签")]
         public string? TagNames { get; set; }
 
+        /// <summary>
+        /// 省退回结果
+        /// </summary>
+        [SugarColumn(ColumnDescription ="省退回结果")]
+        public bool? ProvinceSendBack { get; set; }
+
         #endregion
 
         #region 附件冗余