From 0b7ac10fc4d26e1ef63470a42f40d666bec8692b Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 04 七月 2024 19:51:11 +0800 Subject: [PATCH] 产品位置库存表增加仓库id冗余字段 --- service/operation.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/service/operation.go b/service/operation.go index 47902e3..0775865 100644 --- a/service/operation.go +++ b/service/operation.go @@ -149,6 +149,7 @@ ProductId: v.ProductId, Amount: v.Amount, CreateDate: time.Now().Format("2006-01-02 15:04:05"), + WarehouseId: operation.WarehouseId, }); err != nil { return err } @@ -175,6 +176,7 @@ ProductId: v.ProductId, Amount: v.Amount, CreateDate: time.Now().Format("2006-01-02 15:04:05"), + WarehouseId: operation.WarehouseId, }); err != nil { return err } @@ -193,6 +195,7 @@ ProductId: v.ProductId, Amount: v.Amount, CreateDate: time.Now().Format("2006-01-02 15:04:05"), + WarehouseId: operation.WarehouseId, }); err != nil { return err } -- Gitblit v1.8.0