Commit b16f074a by pengjinyang

提交

parent 8e944f54
...@@ -146,7 +146,7 @@ namespace Service.TakeStock ...@@ -146,7 +146,7 @@ namespace Service.TakeStock
logTask = AddOrUpdateLog(id, TSOrderState.异常, "冻结库存失败,WMS返回消息:" + JObject.Parse(responseContent)["message"], responseContent); logTask = AddOrUpdateLog(id, TSOrderState.异常, "冻结库存失败,WMS返回消息:" + JObject.Parse(responseContent)["message"], responseContent);
} }
int row = await orderRepository.UpdateAsync(order, "State", "LastModificationTime"); int row = await orderRepository.UpdateAsync(order, "State", "BeforeQuantity", "LastModificationTime");
if (!(row > 0 && await logTask)) if (!(row > 0 && await logTask))
isSuccess = false; isSuccess = false;
} }
...@@ -278,7 +278,7 @@ namespace Service.TakeStock ...@@ -278,7 +278,7 @@ namespace Service.TakeStock
order.State = TSOrderState.异常; order.State = TSOrderState.异常;
logTask = AddOrUpdateLog(id, TSOrderState.异常, "盘点失败,WMS返回消息:" + JObject.Parse(responseContent)["message"], responseContent); logTask = AddOrUpdateLog(id, TSOrderState.异常, "盘点失败,WMS返回消息:" + JObject.Parse(responseContent)["message"], responseContent);
} }
int row = await orderRepository.UpdateAsync(order, "State", "LastModificationTime"); int row = await orderRepository.UpdateAsync(order, "State", "AfterQuantity", "LastModificationTime");
if (!(row > 0 && await logTask)) if (!(row > 0 && await logTask))
isSuccess = false; isSuccess = false;
} }
......
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