From cef2b9e1e6909716efe0dce032f627188291f33f Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 18 Sep 2019 11:36:52 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E5=A4=8DaddOrderOrWaybillStatus?= =?UTF-8?q?=E4=B8=AD=E5=88=A4=E6=96=AD=E6=B6=88=E6=81=AF=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=9A=84=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98=EF=BC=88=E8=A6=81?= =?UTF-8?q?=E5=8A=A0Status=E5=88=A4=E6=96=AD=EF=BC=8C=E5=90=A6=E5=88=99?= =?UTF-8?q?=E5=9C=A8=E8=87=AA=E5=8A=A8=E8=A1=A5=E8=BF=90=E5=8D=95=E6=96=B0?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E6=B6=88=E6=81=AF=E6=97=B6=E4=BC=9A=E5=87=BA?= =?UTF-8?q?=E9=94=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/orderman.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/orderman.go b/business/jxcallback/orderman/orderman.go index 1cabb54f1..c907ed479 100644 --- a/business/jxcallback/orderman/orderman.go +++ b/business/jxcallback/orderman/orderman.go @@ -81,7 +81,7 @@ func addOrderOrWaybillStatus(status *model.OrderStatus, db *dao.DaoDB) (isDuplic } }() status.ID = 0 - created, _, err := db.Db.ReadOrCreate(status, "VendorOrderID", "VendorID", "OrderType", "VendorStatus", "StatusTime") + created, _, err := db.Db.ReadOrCreate(status, "VendorOrderID", "VendorID", "OrderType", "Status", "VendorStatus", "StatusTime") if err == nil { if !created { globals.SugarLogger.Debugf("duplicated event:%v", status)