This commit is contained in:
gazebo
2019-03-12 22:20:36 +08:00
parent ae2b01a5a3
commit b41289db2d

View File

@@ -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) {