From 7f22e4058d0b27eca88181629caa14e1fba5c18e Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 13 十二月 2023 10:07:01 +0800
Subject: [PATCH] 入库、出库、调拨、报废根据编码规则自动生成单号

---
 request/product_request.go |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/request/product_request.go b/request/product_request.go
index c48f3c0..b484263 100644
--- a/request/product_request.go
+++ b/request/product_request.go
@@ -49,3 +49,13 @@
 	ProductId  string `json:"productId"`
 	LocationId int    `json:"locationId"`
 }
+
+type ProductStatistics struct {
+	TotalAmount       decimal.Decimal            `gorm:"column:total_amount"`
+	BaseOperationType constvar.BaseOperationType `gorm:"column:base_operation_type"` //鍩虹浣滀笟绫诲瀷
+}
+
+type ProductStatisticsAmount struct {
+	ProductId   string          `gorm:"column:product_id"`
+	TotalAmount decimal.Decimal `gorm:"column:total_amount"`
+}

--
Gitblit v1.8.0