From e289c8d2c9ed86dddd95e8decba5e71fb20da966 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 27 十二月 2023 17:40:39 +0800
Subject: [PATCH] 物料表增加虚拟件类型

---
 proto/product_inventory/server.go |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/proto/product_inventory/server.go b/proto/product_inventory/server.go
index 28310a3..f64413b 100644
--- a/proto/product_inventory/server.go
+++ b/proto/product_inventory/server.go
@@ -188,7 +188,6 @@
 			detail.ProductId = product.Id
 			amount, _ := decimal.NewFromString(product.Amount)
 			detail.Amount = amount
-			details = append(details, &detail)
 			newOperation.Details = append(newOperation.Details, &detail)
 			operations = append(operations, &newOperation)
 		}

--
Gitblit v1.8.0