|
@@ -9,6 +9,7 @@ using Hotline.Orders;
|
|
|
using Hotline.Push.Notifies;
|
|
|
using Hotline.Repository.SqlSugar.Extensions;
|
|
|
using Hotline.Repository.SqlSugar.Knowledge;
|
|
|
+using Hotline.SeedData;
|
|
|
using Hotline.Settings;
|
|
|
using Hotline.Settings.Hotspots;
|
|
|
using Hotline.Share.Dtos;
|
|
@@ -1989,6 +1990,12 @@ namespace Hotline.Api.Controllers
|
|
|
orderDetail.FirstVisitResult = data.FirstVisitResult;
|
|
|
}
|
|
|
|
|
|
+ // 工单流转到部门才允许显示办理内容
|
|
|
+ if (data.ActualHandleOrgCode == OrgSeedData.CenterId)
|
|
|
+ {
|
|
|
+ orderDetail.FlowContent = "信件正在办理中...";
|
|
|
+ }
|
|
|
+
|
|
|
//能否进行评价
|
|
|
var orderVisit = await _orderVisitRepository.GetAsync(p => p.OrderId == data.Id && p.VisitState != EVisitState.None, HttpContext.RequestAborted);
|
|
|
if (orderVisit == null)
|
|
@@ -2003,6 +2010,9 @@ namespace Hotline.Api.Controllers
|
|
|
_ => "0",
|
|
|
};
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
//List<OrderDetail> dataDto = new() { orderDetail };
|
|
|
//return OpenResponse.Ok(WebPortalDeResponse<IReadOnlyList<OrderDetail>>.Success(dataDto));
|