|
|
|
@ -2177,7 +2177,7 @@ namespace Myshipping.Application
|
|
|
|
|
private async Task SyncVesselExcepAtOp(List<DjyVesselExceptDto> dto)
|
|
|
|
|
{
|
|
|
|
|
var tenantId = UserManager.TENANT_ID;
|
|
|
|
|
SpareTime.DoOnce(1000, (tmr, l) =>
|
|
|
|
|
SpareTime.DoOnce(60000, (tmr, l) =>
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
@ -2228,7 +2228,7 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
var content = string.Join("\r\n", dic[k]);
|
|
|
|
|
_logger.LogInformation($"准备发送船期通知给 {k},内容:\r\n{content}");
|
|
|
|
|
//DingTalkGroupHelper.SendDingTalkGroupMessage("", "船期提醒", content, false, new string[] { k }, null);
|
|
|
|
|
DingTalkGroupHelper.SendDingTalkGroupMessage("hechuanVesselAtOpNotify", "船期提醒", content, false, new string[] { k }, null);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -2239,7 +2239,7 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
var content = string.Join("\r\n", item.Value);
|
|
|
|
|
_logger.LogInformation($"准备发送船期通知给 {item.Key},内容:\r\n{content}");
|
|
|
|
|
//DingTalkGroupHelper.SendDingTalkGroupMessage("", "船期提醒", content, false, new string[] { item.Key }, null);
|
|
|
|
|
DingTalkGroupHelper.SendDingTalkGroupMessage("hechuanVesselAtOpNotify", "船期提醒", content, false, new string[] { item.Key }, null);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|