From 6eaef8a60fa8ae48cc5a33a7fa7edc1157de1e64 Mon Sep 17 00:00:00 2001 From: liuwf Date: Wed, 20 Dec 2023 17:29:41 +0800 Subject: [PATCH] change. --- Aucma.Core.CodeBinding/appsettings.json | 2 +- Aucma.Core.ProductOffLine/Business/offLineBusiness.cs | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Aucma.Core.CodeBinding/appsettings.json b/Aucma.Core.CodeBinding/appsettings.json index 367af162..dedbb5f1 100644 --- a/Aucma.Core.CodeBinding/appsettings.json +++ b/Aucma.Core.CodeBinding/appsettings.json @@ -193,7 +193,7 @@ "Enabled": true }, "Scanner1": { //扫码器1 - "Ip": "192.168.1.19", + "Ip": "169.254.91.169", "Name": "扫码器1" }, "Scanner2": { //扫码器2 diff --git a/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs b/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs index 869c2618..a740db50 100644 --- a/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs +++ b/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs @@ -185,14 +185,11 @@ namespace Aucma.Core.ProductOffLine.Business ////6.1截取订单号去查询更新BASE_ORDERINFO,全放到service处理 BaseOrderInfo order = await _baseOrderInfoServices.FirstAsync(x => x.OrderCode == TempOffLineInfo.ProductOrderNo); - //if (order.CompleteAmount == 0) - //{ - // order.BeginDate = DateTime.Now; - //} + // order.CompleteAmount++; //if (order.CompleteAmount == order.OrderAmount) //{ - // order.EndDate = DateTime.Now; + // order.CompleteDate = DateTime.Now; //} //order.UpdatedTime = DateTime.Now; //await _baseOrderInfoServices.UpdateAsync(order);