|
|
|
@ -5506,8 +5506,7 @@ namespace Myshipping.Application
|
|
|
|
|
ChuanMing = order.VESSEL,
|
|
|
|
|
HangCi = order.VOYNO,
|
|
|
|
|
BeiZhu = order.CZRemark,
|
|
|
|
|
ZhuangHuoGang = order.PORTLOAD,
|
|
|
|
|
ZhuangHuoGangDaiMa = order.PORTLOADID,
|
|
|
|
|
|
|
|
|
|
YARD = mappingYard,
|
|
|
|
|
ORDERNO = order.CUSTNO,
|
|
|
|
|
VGMCLOSETIME = order.CLOSEVGMDATE,
|
|
|
|
@ -5527,6 +5526,22 @@ namespace Myshipping.Application
|
|
|
|
|
SendFlag = true
|
|
|
|
|
}).ToList()
|
|
|
|
|
};
|
|
|
|
|
string[] supportPortPassageArr = null;
|
|
|
|
|
var vgmSupportPortPassages = sysconfig.FirstOrDefault(x => x.GroupCode == "DJY_CONST" && x.Code == "VgmSupportPortPassages");
|
|
|
|
|
if (!string.IsNullOrEmpty(vgmSupportPortPassages?.Value))
|
|
|
|
|
{
|
|
|
|
|
supportPortPassageArr = vgmSupportPortPassages.Value.Split(',');
|
|
|
|
|
}
|
|
|
|
|
if (supportPortPassageArr != null && supportPortPassageArr.Length > 0 && supportPortPassageArr.Contains(order.PORTLOADID))
|
|
|
|
|
{
|
|
|
|
|
sendObj.ZhuangHuoGang = order.PORTLOAD;
|
|
|
|
|
sendObj.ZhuangHuoGangDaiMa = order.PORTLOADID;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
sendObj.ZhuangHuoGang = "OTHER";
|
|
|
|
|
sendObj.ZhuangHuoGangDaiMa = "OTHER";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_logger.LogInformation($"调用VGM平台的发送接口:{urlConfig.Value},参数:{JsonConvert.SerializeObject(sendObj)}");
|
|
|
|
|
|
|
|
|
|