|
@@ -4453,6 +4453,15 @@ public class OrderController : BaseController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (_systemSettingCacheManager.Snapshot)
|
|
|
+ {
|
|
|
+ await _orderSnapshotRepository.Queryable()
|
|
|
+ .Where(m => m.Id == id)
|
|
|
+ .Select(m => new { m.IndustryId, m.IndustryName })
|
|
|
+ .FirstAsync(HttpContext.RequestAborted)
|
|
|
+ .Then(m => { dto.IndustryName = m.IndustryName; dto.IndustryId = m.IndustryId; });
|
|
|
+ }
|
|
|
+
|
|
|
return _sessionContext.OrgIsCenter ? dto : dto.DataMask();
|
|
|
}
|
|
|
|