|
|
|
@ -3,6 +3,7 @@ using DS.Module.Core.Condition;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using DS.Module.SqlSugar;
|
|
|
|
|
using DS.Module.UserModule;
|
|
|
|
|
using DS.WMS.Core.Op.Dtos;
|
|
|
|
|
using DS.WMS.Core.Op.Entity;
|
|
|
|
|
using DS.WMS.Core.Sys.Interface;
|
|
|
|
|
using DS.WMS.Core.Sys.Method;
|
|
|
|
@ -10,6 +11,7 @@ using DS.WMS.Core.TaskPlat.Dtos;
|
|
|
|
|
using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
|
using DS.WMS.Core.TaskPlat.Interface;
|
|
|
|
|
using LanguageExt.Pipes;
|
|
|
|
|
using Mapster;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using SqlSugar;
|
|
|
|
@ -273,7 +275,8 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
var tenantDb = saasDbService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
if (dataContext.ContainsKey(TaskFlowDataNameConst.Business))
|
|
|
|
|
{
|
|
|
|
|
order = dataContext.Get<SeaExport>(TaskFlowDataNameConst.Business);
|
|
|
|
|
var orderDto = dataContext.Get<SeaExportRes>(TaskFlowDataNameConst.Business);
|
|
|
|
|
order = orderDto.Adapt<SeaExport>();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
@ -403,7 +406,8 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
var tenantDb = saasDbService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
if (dataContext.ContainsKey(TaskFlowDataNameConst.Business))
|
|
|
|
|
{
|
|
|
|
|
order = dataContext.Get<SeaExport>(TaskFlowDataNameConst.Business);
|
|
|
|
|
var orderDto = dataContext.Get<SeaExportRes>(TaskFlowDataNameConst.Business);
|
|
|
|
|
order = orderDto.Adapt<SeaExport>();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|