From 9b1b7f1f62fc31c7c873584e1f0c571ad4eb2000 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 8 May 2024 13:56:51 +0800 Subject: [PATCH] =?UTF-8?q?1=E5=88=B6=E4=BD=9C=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ipad/svc/svc_order_make.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/ipad/svc/svc_order_make.go b/app/ipad/svc/svc_order_make.go index 77a3ad5..6fb546c 100644 --- a/app/ipad/svc/svc_order_make.go +++ b/app/ipad/svc/svc_order_make.go @@ -83,6 +83,9 @@ func NewOrderSortingEnd(c *gin.Context) { GoodsTitle: record.GoodsTitle, Sku: record.Sku, } + var admin model.Staff + sess.Where("id=?", recordFlow.AdminId).Get(&admin) + recordFlow.AdminName = admin.Name one, err := sess.InsertOne(recordFlow) if one == 0 || err != nil { sess.Rollback()