From a8914a16b23e93f6bfd12bcfd5cbe8b24cf7eb84 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期日, 07 四月 2024 21:49:01 +0800
Subject: [PATCH] 发货支持仓库传参

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

diff --git a/request/product_request.go b/request/product_request.go
index c48f3c0..8402959 100644
--- a/request/product_request.go
+++ b/request/product_request.go
@@ -24,6 +24,7 @@
 	ToLocationId   int             `json:"toLocationId"`
 	SourceNumber   string          `json:"sourceNumber"`
 	//Unit           string          `json:"unit"`
+	Number string `json:"number"`
 }
 
 type QueryDisuseList struct {
@@ -49,3 +50,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