|
@@ -4602,7 +4602,7 @@ public class OrderController : BaseController
|
|
|
model.StepName = step.Name;
|
|
|
model.StepCode = step.Code;
|
|
|
model.State = 1;
|
|
|
- model.ESpecialType = ESpecialType.ReTransact;
|
|
|
+ model.SpecialType = ESpecialType.ReTransact;
|
|
|
model.LastFileOpinion = order.FileOpinion;
|
|
|
model.FirstFileOpinion = order.FileOpinion;
|
|
|
var firstSpecial = await _orderSpecialRepository.Queryable().Where(x => x.OrderId == dto.OrderId).FirstAsync();
|
|
@@ -5114,7 +5114,8 @@ public class OrderController : BaseController
|
|
|
public async Task<object> ReTransactBaseData(string id)
|
|
|
{
|
|
|
var order = await _orderRepository.GetAsync(id, HttpContext.RequestAborted);
|
|
|
- List<Kv> orgs = new();
|
|
|
+ var isInstaShot = order.SourceChannel.Contains("随手拍");
|
|
|
+ List<Kv> orgs = new();
|
|
|
if (order == null) throw UserFriendlyException.SameMessage("无效工单信息!");
|
|
|
//中心会签调取方法
|
|
|
var org = await _workflowDomainService.GetLevelOneOrgsAsync(order.WorkflowId, HttpContext.RequestAborted);
|
|
@@ -5125,9 +5126,8 @@ public class OrderController : BaseController
|
|
|
{
|
|
|
SpecialTimeType = EnumExts.GetDescriptions<ETimeType>(),
|
|
|
SpecialReason = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.SpecialReason),
|
|
|
- ReTransactErrorType = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.ReTransactErrorType),
|
|
|
- InstaShotSpecialReason = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.InstaShotSpecialReason),
|
|
|
- Step = step,
|
|
|
+ ReTransactErrorType = isInstaShot ? _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.InstaShotSpecialReason) : _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.ReTransactErrorType),
|
|
|
+ Step = step,
|
|
|
Orgs = orgs,
|
|
|
};
|
|
|
return rsp;
|