我的任务-VGM比对

optimize
jianghaiqing 2 years ago
parent b7880fa0e7
commit 6ff1b48229

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 任务扩展报文
/// </summary>
public class TaskManageOrderExtMessageInfo
{
/// <summary>
/// 序列化报文
/// </summary>
public string SerialMsg { get; set; }
/// <summary>
/// 序列化报文类型 JSON-JSON序列化
/// </summary>
public string SerialType { get; set; }
/// <summary>
/// 业务类型
/// </summary>
public string BusiType { get; set; }
}
}

@ -112,5 +112,10 @@ namespace Myshipping.Application
/// 单票账单
/// </summary>
public TaskManageOrderPerBillInfo PerBillInfo { get; set; }
/// <summary>
/// 序列化报文详情
/// </summary>
public TaskManageOrderExtMessageInfo SerialMsgInfo { get; set; }
}
}

@ -377,6 +377,20 @@ namespace Myshipping.Application
});
}
if (info.Main.SerialMsgInfo != null)
{
var storeInfo = new TaskStoreMsgInfo
{
PK_ID = IDGen.NextID().ToString(),
TASK_PKID = taskInfo.PK_ID,
MSG_JSON = info.Main.SerialMsgInfo.SerialMsg,
CreatedTime = taskInfo.CreatedTime,
UpdatedTime = taskInfo.CreatedTime,
};
await _taskStoreMsgInfoRepository.InsertAsync(storeInfo);
}
result.succ = true;
result.msg = "新增任务成功";
}
@ -3035,6 +3049,8 @@ namespace Myshipping.Application
TaskVgmCompareDto md = l.Adapt<TaskVgmCompareDto>();
md.compareDiffList = new List<string>();
if (currInfo != null)
{
if(l.SEALNO != currInfo.SEAL_NO)
@ -3089,6 +3105,8 @@ namespace Myshipping.Application
TaskVgmCompareDto md = l.Adapt<TaskVgmCompareDto>();
md.compareDiffList = new List<string>();
if (currInfo != null)
{
if (l.SEAL_NO != currInfo.SEALNO)
@ -3538,7 +3556,6 @@ namespace Myshipping.Application
}
#endregion
#region 发送截单EDI
/// <summary>
/// 发送截单EDI

Loading…
Cancel
Save