|
@@ -3496,6 +3496,15 @@ public class OrderController : BaseController
|
|
|
orderTerminateList.Any(x => x.Status == ETerminateStatus.Refuse) ? "不同意" :
|
|
|
orderTerminateList.Any(x => x.Status == ETerminateStatus.Approval || x.Status == ETerminateStatus.SendBack) ? "审批中" : null;
|
|
|
|
|
|
+ if (_systemSettingCacheManager.Snapshot)
|
|
|
+ {
|
|
|
+ var snapshot = await _orderSnapshotRepository.Queryable()
|
|
|
+ .Where(m => m.Id == order.Id)
|
|
|
+ .Select(m => new { m.IndustryId, m.IndustryName })
|
|
|
+ .FirstAsync(HttpContext.RequestAborted);
|
|
|
+ dto.IndustryName = snapshot.IndustryName;
|
|
|
+ dto.IndustryId = snapshot.IndustryId;
|
|
|
+ }
|
|
|
return _sessionContext.OrgIsCenter ? dto : dto.DataMask();
|
|
|
}
|
|
|
|