Commit dc4ab4d2 by 泽锋 李

fix

parent cb576c4d
...@@ -152,6 +152,8 @@ namespace AutoTurnOver.Services ...@@ -152,6 +152,8 @@ namespace AutoTurnOver.Services
} }
if (!result.IsSuccessed) if (!result.IsSuccessed)
{ {
ApiServices.QiYeJiQiRenMsPush(new QiYeJiQiRenMsDto { msgtype = "text", text = new QiYeJiQiRenMsDto.text_dto { content = " aims 采购单推送失败,请手动推送 " } });
ApiServices.QiYeJiQiRenMsPush(new QiYeJiQiRenMsDto { msgtype = "text", text = new QiYeJiQiRenMsDto.text_dto { content = " 查收异常消息: " + result.Message } });
if (is_skip_error) if (is_skip_error)
{ {
// 提取异常sku // 提取异常sku
...@@ -183,8 +185,6 @@ namespace AutoTurnOver.Services ...@@ -183,8 +185,6 @@ namespace AutoTurnOver.Services
} }
else else
{ {
ApiServices.QiYeJiQiRenMsPush(new QiYeJiQiRenMsDto { msgtype = "text", text = new QiYeJiQiRenMsDto.text_dto { content = " aims 采购单推送失败,请手动推送 " } });
ApiServices.QiYeJiQiRenMsPush(new QiYeJiQiRenMsDto { msgtype = "text", text = new QiYeJiQiRenMsDto.text_dto { content = " 查收异常消息: " + result.Message } });
throw new Exception("采购系统异常: " + result.Message); throw new Exception("采购系统异常: " + result.Message);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment