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()