|
@@ -4360,6 +4360,14 @@ public class OrderController : BaseController
|
|
|
if (dto.IsEdit != true && order.Status > EOrderStatus.HandOverToUnAccept)
|
|
|
throw UserFriendlyException.SameMessage("工单已发起流程,不可编辑");
|
|
|
}
|
|
|
+ if (_systemSettingCacheManager.Snapshot)
|
|
|
+ {
|
|
|
+ await _orderSnapshotRepository.Updateable()
|
|
|
+ .SetColumns(m => m.IndustryId, dto.IndustryId)
|
|
|
+ .SetColumns(m => m.IndustryName, dto.IndustryName)
|
|
|
+ .Where(m => m.Id == dto.Id)
|
|
|
+ .ExecuteCommandAsync();
|
|
|
+ }
|
|
|
|
|
|
// 副本工单
|
|
|
var copy = new OrderCopy();
|