From a10d59528a36dc5a1fbe4d9caa6b4abf25ab828c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 12 一月 2024 10:49:08 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS
---
request/location_product_amount.go | 34 ++++++++++++++++++++++++++--------
1 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/request/location_product_amount.go b/request/location_product_amount.go
index 7b1ff44..6b34041 100644
--- a/request/location_product_amount.go
+++ b/request/location_product_amount.go
@@ -1,17 +1,35 @@
package request
-import "github.com/shopspring/decimal"
+import (
+ "github.com/shopspring/decimal"
+)
type AddLocationProductAmount struct {
- LocationId int `json:"locationId"`
+ AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
+ DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺
+ Amount decimal.Decimal `json:"Amount"` //搴撳瓨鏁伴噺
ProductId string `json:"productId"`
- Amount decimal.Decimal `json:"decimal"` //搴撳瓨鏁伴噺
- AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
- DifferenceAmount decimal.Decimal `json:"difference_amount"` //璁℃暟鏁伴噺
+ LocationId int `json:"locationId"`
}
type UpdateLocationProductAmount struct {
- LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id
- AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸��
- DifferenceAmount decimal.Decimal `json:"difference_amount"` //璁℃暟鏁伴噺
+ //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
+ ProductCategoryId int `json:"productCategoryId"` //浜у搧绉嶇被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