From 0b7ac10fc4d26e1ef63470a42f40d666bec8692b Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 04 七月 2024 19:51:11 +0800
Subject: [PATCH] 产品位置库存表增加仓库id冗余字段
---
request/location_product_amount.go | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index d4c4e9d..4deb759 100644
--- a/request/location_product_amount.go
+++ b/request/location_product_amount.go
@@ -2,7 +2,13 @@
import (
"github.com/shopspring/decimal"
+ "wms/models"
)
+
+type GetList struct {
+ PageInfo
+ Keyword string `json:"keyword"`
+}
type AddLocationProductAmount struct {
AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
@@ -14,12 +20,13 @@
type UpdateLocationProductAmount struct {
//LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
- AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
- DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
- Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺
- ProductId string `json:"productId"` //浜у搧id
- OperationId int `json:"operationId"` //鍑哄叆搴搃d
- LocationId int `json:"locationId"` //浣嶇疆id
+ AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
+ DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
+ Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺
+ ProductId string `json:"productId"` //浜у搧id
+ OperationId int `json:"operationId"` //鍑哄叆搴搃d
+ LocationId int `json:"locationId"` //浣嶇疆id
+ ProductCategoryId int `json:"productCategoryId"` //浜у搧绉嶇被id
}
type GetRuleList struct {
@@ -32,3 +39,14 @@
ProductId string `json:"productId"` //浜у搧id
LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
}
+
+type GetLocationProductList struct {
+ PageInfo
+ Keyword string `json:"keyword"`
+ WarehouseId int `json:"warehouseId"`
+ LocationId int `json:"locationId"`
+}
+
+type GetLocationProductListResponse struct {
+ models.Material
+}
--
Gitblit v1.8.0