liulb@mesnac.com 1 year ago
commit 0f11e687cc

@ -193,7 +193,7 @@
"Enabled": true "Enabled": true
}, },
"Scanner1": { //1 "Scanner1": { //1
"Ip": "192.168.1.19", "Ip": "169.254.91.169",
"Name": "扫码器1" "Name": "扫码器1"
}, },
"Scanner2": { //2 "Scanner2": { //2

@ -185,14 +185,11 @@ namespace Aucma.Core.ProductOffLine.Business
////6.1截取订单号去查询更新BASE_ORDERINFO,全放到service处理 ////6.1截取订单号去查询更新BASE_ORDERINFO,全放到service处理
BaseOrderInfo order = await _baseOrderInfoServices.FirstAsync(x => x.OrderCode == TempOffLineInfo.ProductOrderNo); BaseOrderInfo order = await _baseOrderInfoServices.FirstAsync(x => x.OrderCode == TempOffLineInfo.ProductOrderNo);
//if (order.CompleteAmount == 0)
//{
// order.BeginDate = DateTime.Now;
//}
// order.CompleteAmount++; // order.CompleteAmount++;
//if (order.CompleteAmount == order.OrderAmount) //if (order.CompleteAmount == order.OrderAmount)
//{ //{
// order.EndDate = DateTime.Now; // order.CompleteDate = DateTime.Now;
//} //}
//order.UpdatedTime = DateTime.Now; //order.UpdatedTime = DateTime.Now;
//await _baseOrderInfoServices.UpdateAsync(order); //await _baseOrderInfoServices.UpdateAsync(order);

Loading…
Cancel
Save