Browse Source

1制作记录

master
huangjiajun 6 months ago
parent
commit
9b1b7f1f62
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/ipad/svc/svc_order_make.go

+ 3
- 0
app/ipad/svc/svc_order_make.go View File

@@ -83,6 +83,9 @@ func NewOrderSortingEnd(c *gin.Context) {
GoodsTitle: record.GoodsTitle, GoodsTitle: record.GoodsTitle,
Sku: record.Sku, Sku: record.Sku,
} }
var admin model.Staff
sess.Where("id=?", recordFlow.AdminId).Get(&admin)
recordFlow.AdminName = admin.Name
one, err := sess.InsertOne(recordFlow) one, err := sess.InsertOne(recordFlow)
if one == 0 || err != nil { if one == 0 || err != nil {
sess.Rollback() sess.Rollback()


Loading…
Cancel
Save