|
|
@ -2255,7 +2255,7 @@ namespace djy.Paas.Service
|
|
|
|
if (customerComp == null)
|
|
|
|
if (customerComp == null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//推送钉钉消息给客服
|
|
|
|
//推送钉钉消息给客服
|
|
|
|
var content = $"公司{ord.ClientName}未找到";
|
|
|
|
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}未找到";
|
|
|
|
_LogsAdd(content, "胜云航通自动扣费", null);
|
|
|
|
_LogsAdd(content, "胜云航通自动扣费", null);
|
|
|
|
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
|
|
|
|
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)
|
|
|
|
if (balance == null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//推送钉钉消息给客服
|
|
|
|
//推送钉钉消息给客服
|
|
|
|
var content = $"公司{ord.ClientName}没有钱包";
|
|
|
|
var content = $"公司{ord.ClientName}提单号{ord.ShipOrderNo}没有钱包";
|
|
|
|
_LogsAdd(content, "胜云航通自动扣费", null);
|
|
|
|
_LogsAdd(content, "胜云航通自动扣费", null);
|
|
|
|
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
|
|
|
|
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)
|
|
|
|
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;
|
|
|
|
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)
|
|
|
|
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;
|
|
|
|
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();
|
|
|
|
.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;
|
|
|
|
var gethtml = DjyTools.PostOnLogs(new { text = new { content = $"【未扣费提醒】\r\n{content}\r\n----报关消息通知" }, msgtype = "text" }, cfgDingtalk, "胜云航通自动扣费", YsPsotType.Json).Result;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|