钉钉@操作

optimize
wanghaomei 1 year ago
parent f2cf96c41d
commit e3e1b2a937

@ -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);
}
}
}

Loading…
Cancel
Save