From 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 01 七月 2024 22:32:34 +0800
Subject: [PATCH] 月度统计出入库按类型汇总报表定时任务和手动跑任务接口

---
 request/location_product.go |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/request/location_product.go b/request/location_product.go
index feccc4f..f5f71c5 100644
--- a/request/location_product.go
+++ b/request/location_product.go
@@ -1,16 +1,26 @@
 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
+	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锛氫骇鍝佺被鍒被鍨�
+}
+
+type QueryLocationProductConditon struct {
+	PageInfo
 	ProductId         string `json:"productId"`         //浜у搧id
 	ProductCategoryId int    `json:"productCategoryId"` //浜у搧绉嶇被id
-	AreaId            int    `json:"areaId"`            //鍖哄煙id
 }

--
Gitblit v1.8.0