diff --git a/HKCardOUT/Logic/Model/SaleLog.cs b/HKCardOUT/Logic/Model/SaleLog.cs
index 9449dfb..75778e0 100644
--- a/HKCardOUT/Logic/Model/SaleLog.cs
+++ b/HKCardOUT/Logic/Model/SaleLog.cs
@@ -16,11 +16,6 @@ namespace HKCardOUT.Logic.Model
[SugarColumn(IsNullable = false)]
public string CardNo { get; set; }
///
- /// 消费金额
- ///
- [SugarColumn(IsNullable = false, ColumnDataType = "decimal(10,2)")]
- public decimal Money { get; set; }
- ///
/// 消费位置
///
[SugarColumn(IsNullable = false)]
diff --git a/HKCardOUT/Logic/RemoteService.cs b/HKCardOUT/Logic/RemoteService.cs
index 36da2c0..7ee1647 100644
--- a/HKCardOUT/Logic/RemoteService.cs
+++ b/HKCardOUT/Logic/RemoteService.cs
@@ -31,12 +31,12 @@ namespace HKCardOUT.Logic
///
///
///
- public static bool SyncSaleLog(string CardNo, decimal Money)
+ public static bool SyncSaleLog(string CardNo, string StallId)
{
var data = IHttpMultiClient.HttpMulti.AddNode(t =>
{
t.ReqType = MultiType.POST;
- t.JsonParam = (new { Money, Type = -1, CardNum = CardNo }).ToJson();
+ t.JsonParam = (new { GateId=StallId, Type = -1, CardNum = CardNo }).ToJson();
t.NodePath = ApiRoute.SyncSaleLog;
}).Build().RunStringFirst();
return bool.Parse(data.ToModel()["data"].ToString());
diff --git a/HKCardOUT/Logic/Service/HKCore.cs b/HKCardOUT/Logic/Service/HKCore.cs
index bd79714..b139bc0 100644
--- a/HKCardOUT/Logic/Service/HKCore.cs
+++ b/HKCardOUT/Logic/Service/HKCore.cs
@@ -31,7 +31,7 @@ namespace HKCardOUT.Logic.Service
var entity = DbContext.Context.Insertable(input).CallEntityMethod(t => t.Create()).ExecuteReturnEntity();
if (entity.Id!=Guid.Empty)
{
- var res = RemoteService.SyncSaleLog(input.CardNo, input.Money);
+ var res = RemoteService.SyncSaleLog(input.CardNo, input.Location);
Main.GetInstance.Start(input.Location.AsInt());
DbContext.Context.Updateable().SetColumns(t => t.IsSync == true).Where(t => t.Id == entity.Id).ExecuteCommand();
return res;
@@ -44,7 +44,7 @@ namespace HKCardOUT.Logic.Service
var entity = DbContext.Context.Insertable(input).CallEntityMethod(t => t.Create()).ExecuteReturnEntity();
if (entity.Id!=Guid.Empty)
{
- var res = RemoteService.SyncSaleLog(input.CardNo, input.Money);
+ var res = RemoteService.SyncSaleLog(input.CardNo, input.Location);
Main.GetInstance.Start(input.Location.AsInt());
DbContext.Context.Updateable().SetColumns(t => t.IsSync == true).Where(t => t.Id == entity.Id).ExecuteCommand();
return res;