From 0eac8cd498471e510c1887a914e6e28d1dfb4b19 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 31 十月 2023 11:54:49 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS

---
 request/location_product.go |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/request/location_product.go b/request/location_product.go
index feccc4f..b0e3320 100644
--- a/request/location_product.go
+++ b/request/location_product.go
@@ -1,16 +1,20 @@
 package request
 
+import "wms/constvar"
+
 type AddLocationProduct struct {
-	LocationId        int    `json:"locationId"`        //浣嶇疆id
-	ProductId         string `json:"productId"`         //浜у搧id
-	ProductCategoryId int    `json:"productCategoryId"` //浜у搧绉嶇被id
-	AreaId            int    `json:"areaId"`            //鍖哄煙id
+	LocationId        int               `json:"locationId"`        //浣嶇疆id
+	ProductId         string            `json:"productId"`         //浜у搧id
+	ProductCategoryId int               `json:"productCategoryId"` //浜у搧绉嶇被id
+	AreaId            int               `json:"areaId"`            //鍖哄煙id
+	RuleType          constvar.RuleType `json:"ruleType"`          //涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�
 }
 
 type UpdateLocationProduct struct {
-	Id                int    `json:"id"`
-	LocationId        int    `json:"locationId"`        //浣嶇疆id
-	ProductId         string `json:"productId"`         //浜у搧id
-	ProductCategoryId int    `json:"productCategoryId"` //浜у搧绉嶇被id
-	AreaId            int    `json:"areaId"`            //鍖哄煙id
+	Id                int               `json:"id"`
+	LocationId        int               `json:"locationId"`        //浣嶇疆id
+	ProductId         string            `json:"productId"`         //浜у搧id
+	ProductCategoryId int               `json:"productCategoryId"` //浜у搧绉嶇被id
+	AreaId            int               `json:"areaId"`            //鍖哄煙id
+	RuleType          constvar.RuleType `json:"ruleType"`          //涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�
 }

--
Gitblit v1.8.0