From b41289db2d9d0bdab19aa35af6b605d6badee8cc Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 12 Mar 2019 22:20:36 +0800 Subject: [PATCH] - fk --- business/jxcallback/orderman/oder_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/oder_comment.go b/business/jxcallback/orderman/oder_comment.go index 6be3a53fc..fd0206383 100644 --- a/business/jxcallback/orderman/oder_comment.go +++ b/business/jxcallback/orderman/oder_comment.go @@ -74,7 +74,7 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( comment2 := &legacymodel.JxBadComments{ OrderId: orderComment.VendorOrderID, } - err := dao.GetEntity(db, comment2, model.FieldVendoOrderID) + err := dao.GetEntity(db, comment2, "OrderId") if err == nil || dao.IsNoRowsError(err) { isNewComment := false if dao.IsNoRowsError(err) {