大简云回推业务状态,微调

JinHanShengHang
ddlucky 9 months ago
parent 061c0fa72a
commit 8ab811f5c6

@ -349,17 +349,29 @@ namespace D7MqClient
if (!string.IsNullOrEmpty(feeback.FeedbackData.BSNO)) BSNO = feeback.FeedbackData.BSNO;
if (!string.IsNullOrEmpty(feeback.FeedbackData.MBLNO)) MBLNO = feeback.FeedbackData.MBLNO;
var cdc =new DSWeb.Common.DB.CommonDataContext();
var = cdc.op_status.Where(x => x.BSNO == BSNO && x.STATUS == "STATUS").ToList();
if (!string.IsNullOrEmpty(BSNO))
{
//环海运通 要求,同时增加业务状态“已放舱” 如客户不需要可屏蔽
InsertOpStatus(null, BSNO, dbcon,null, "已放舱");
//20240320 如果已有 就不添加
if ( == null || .Count == 0) {
InsertOpStatus(null, BSNO, dbcon, null, "已放舱");
}
}
else
if (!string.IsNullOrEmpty(feeback.FeedbackData.MBLNO))
{
//环海运通 要求,同时增加业务状态“已放舱” 如客户不需要可屏蔽
InsertOpStatus(null, BSNO, dbcon, MBLNO, "已放舱");
//20240320 如果已有 就不添加
if ( == null || .Count == 0)
{
InsertOpStatus(null, BSNO, dbcon, null, "已放舱");
}
}
}
}

Loading…
Cancel
Save