钉钉提醒加提单号

master
wet 2 years ago
parent 9b53e191ae
commit cb61ce1365

@ -2255,7 +2255,7 @@ namespace djy.Paas.Service
if (customerComp == null)
{
//推送钉钉消息给客服
var content = $"公司{ord.ClientName}未找到";
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}未找到";
_LogsAdd(content, "胜云航通自动扣费", null);
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
@ -2278,7 +2278,7 @@ namespace djy.Paas.Service
if (balance == null)
{
//推送钉钉消息给客服
var content = $"公司{ord.ClientName}没有钱包";
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}没有钱包";
_LogsAdd(content, "胜云航通自动扣费", null);
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
@ -2302,7 +2302,7 @@ namespace djy.Paas.Service
if (price == null)
{
//推送钉钉消息给客服
var content = $"公司{ord.ClientName}的报关单价未设置";
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}的报关单价未设置";
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
@ -2320,7 +2320,7 @@ namespace djy.Paas.Service
if (price.PRICE > balance.Balance)
{
//推送钉钉消息给客服
var content = $"公司{ord.ClientName}的余额不足";
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}的余额不足";
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
@ -2367,7 +2367,7 @@ namespace djy.Paas.Service
.ExecuteAffrows();
//推送钉钉消息给客服
var content = $"公司{ord.ClientName}报关扣费失败:{getfinrs.Message}";
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}报关扣费失败:{getfinrs.Message}";
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
}

Loading…
Cancel
Save