Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
3940e8a7a3
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      app/admin/svc/order/svc_order_list.go

+ 0
- 13
app/admin/svc/order/svc_order_list.go View File

@@ -1637,19 +1637,6 @@ func OrderDeductNum(c *gin.Context) {
} }
newNum -= deNum newNum -= deNum
all1.WaitBakingNum -= deNum all1.WaitBakingNum -= deNum
all := all1
all.Id = 0
all.WaitBakingNum = deNum
all.WaitMakeNum = 0
all.WaitSortingNum = 0
all.GoodsTitle = orderGoods1.GoodsTitle
all.GoodsType = 2
_, err = sess.InsertOne(all)
if err != nil {
sess.Rollback()
e.OutErr(c, 400, e.NewErr(400, "修改失败"))
return
}
} }
if newNum > 0 { if newNum > 0 {
sess.Rollback() sess.Rollback()


Loading…
Cancel
Save