From e695d7c697196a36f8cdafc90e6a403a12707591 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期六, 21 十月 2023 17:43:36 +0800
Subject: [PATCH] 1.拆分报废、调拨、盘点列表接口
---
request/location_product_amount.go | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index 9926b34..d4c4e9d 100644
--- a/request/location_product_amount.go
+++ b/request/location_product_amount.go
@@ -5,20 +5,21 @@
)
type AddLocationProductAmount struct {
- LocationId int `json:"locationId"`
- ProductId string `json:"productId"`
- Amount decimal.Decimal `json:"Amount"` //搴撳瓨鏁伴噺
AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
+ Amount decimal.Decimal `json:"Amount"` //搴撳瓨鏁伴噺
+ ProductId string `json:"productId"`
+ LocationId int `json:"locationId"`
}
type UpdateLocationProductAmount struct {
//LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
- OperationId int `json:"operationId"` //鍑哄叆搴搃d
Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺
ProductId string `json:"productId"` //浜у搧id
+ OperationId int `json:"operationId"` //鍑哄叆搴搃d
+ LocationId int `json:"locationId"` //浣嶇疆id
}
type GetRuleList struct {
--
Gitblit v1.8.0