Commit 0af2a786 by pengjinyang

no message

parent afbb0721
......@@ -203,7 +203,10 @@ namespace Service.TakeStock
var toCancelCodes = jobj["toCancelCodes"].ToObject<string[]>();
var waitCodes = jobj["waitCodes"].ToObject<string[]>();
if (toCancelCodes?.Length > 0)
{
toCancelCodes = toCancelCodes.Distinct().ToArray();
order.ToCancelCodes = string.Join(',', toCancelCodes);
}
if (waitCodes?.Length > 0)
order.WaitCodes = string.Join(',', waitCodes);
}
......
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