From c40ce9320fb85e6ef65c2fc0a1718bf2e7683b79 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 17 Jun 2024 10:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/svc/order/svc_order_list.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index 27367d6..ed3dfb8 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -1312,14 +1312,13 @@ func OrderEditNum(c *gin.Context) { all1 := db.GetOrderGoodsMakeStockAllByDate(sess, goodsId, skuId, 0, orderGoods.MakeDate) if all1 == nil { var tmp = &model.OrderGoodsMakeStock{ - Gid: goodsId, - SkuId: skuId, - SkuCode: code, - GoodsTitle: orderGoods.GoodsTitle, - Sku: skuStr, - WaitMakeNum: utils.StrToInt(args["num"]), - GoodsType: 0, - MakeDate: orderGoods.MakeDate, + Gid: goodsId, + SkuId: skuId, + SkuCode: code, + GoodsTitle: orderGoods.GoodsTitle, + Sku: skuStr, + GoodsType: 0, + MakeDate: orderGoods.MakeDate, } sess.Insert(tmp) }