From a21d2184eae304ae80f32353c8a49b64a7618d22 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 28 九月 2023 11:30:40 +0800
Subject: [PATCH] 1.改名
---
request/location_product_amount.go | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index 78adb84..be4ca87 100644
--- a/request/location_product_amount.go
+++ b/request/location_product_amount.go
@@ -1,6 +1,8 @@
package request
-import "github.com/shopspring/decimal"
+import (
+ "github.com/shopspring/decimal"
+)
type AddLocationProductAmount struct {
LocationId int `json:"locationId"`
@@ -11,7 +13,21 @@
}
type UpdateLocationProductAmount struct {
- LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
- AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
- DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
+ //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
+}
+
+type GetRuleList struct {
+ LocationId int `json:"locationId"` //浣嶇疆id
+ ProductId string `json:"productId"` //浜у搧id
+}
+
+type FinishLocationProductAmount struct {
+ OperationId int `json:"operationId"` //鍑哄叆搴搃d
+ ProductId string `json:"productId"` //浜у搧id
+ LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
}
--
Gitblit v1.8.0