From 0409aed13892bd72e1aff2eb9b5a7142a6d804f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 1 Mar 2021 15:53:53 +0800 Subject: [PATCH] aa --- business/partner/purchase/jx/localjx/order.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 24c5d3e16..0f562df14 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -2443,16 +2443,16 @@ func CreateStoreAcctOrder(ctx *jxcontext.Context, orderType, storeID, price int) dao.CreateEntity(db, storeAcct) } - order := &model.GoodsOrder{ + order := &model.StoreAcctOrder{ VendorOrderID: utils.Int64ToStr(jxutils.GenOrderNo()), UserID: ctx.GetUserID(), StoreID: storeID, OrderType: orderType, Status: model.OrderStatusWait4Pay, - ActualPayPrice: int64(price), - OrderCreatedAt: time.Now(), + ActualPayPrice: price, VendorID: model.VendorIDJX, } + dao.WrapAddIDCULEntity(order, ctx.GetUserName()) dao.Begin(db) defer func() { if r := recover(); r != nil {