From e5df488268e29b272932e6cc1d2b1e7034590ba0 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 12 六月 2024 11:40:45 +0800
Subject: [PATCH] weedfs包放到项目里

---
 router/router.go |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/router/router.go b/router/router.go
index b28aef4..b3ab526 100644
--- a/router/router.go
+++ b/router/router.go
@@ -94,6 +94,7 @@
 		operationAPI.GET("getSupplierList", operationController.GetSupplierList)
 		operationAPI.GET("getClientList", operationController.GetClientList)
 		operationAPI.POST("listByCondition", operationController.ListByCondition)
+		operationAPI.GET("getPersonnelList", operationController.GetPersonnelList)
 
 	}
 
@@ -140,20 +141,27 @@
 	locationProductAmountController := new(controllers.LocationProductAmountController)
 	locationProductAmountAPI := r.Group(urlPrefix + "/locationProductAmount")
 	{
-		locationProductAmountAPI.POST("add", locationProductAmountController.Add)                 //娣诲姞搴撳瓨鐩樼偣淇℃伅
-		locationProductAmountAPI.POST("list", locationProductAmountController.List)               //鏌ョ湅搴撳瓨鐩樼偣鍒楄〃
-		locationProductAmountAPI.POST("update", locationProductAmountController.Update)           //淇敼搴撳瓨鐩樼偣淇℃伅
-		locationProductAmountAPI.POST("finish", locationProductAmountController.Finish)           //搴旂敤銆侀獙璇佸簱瀛樼洏鐐逛俊鎭�
-		locationProductAmountAPI.POST("getRuleList", locationProductAmountController.GetRuleList) //鑾峰彇涓婃灦瑙勫垯
+		locationProductAmountAPI.POST("add", locationProductAmountController.Add)                                           //娣诲姞搴撳瓨鐩樼偣淇℃伅
+		locationProductAmountAPI.POST("list", locationProductAmountController.List)                                         //鏌ョ湅搴撳瓨鐩樼偣鍒楄〃
+		locationProductAmountAPI.POST("update", locationProductAmountController.Update)                                     //淇敼搴撳瓨鐩樼偣淇℃伅
+		locationProductAmountAPI.POST("finish", locationProductAmountController.Finish)                                     //搴旂敤銆侀獙璇佸簱瀛樼洏鐐逛俊鎭�
+		locationProductAmountAPI.POST("getRuleList", locationProductAmountController.GetRuleList)                           //鑾峰彇涓婃灦瑙勫垯
+		locationProductAmountAPI.POST("getLocationProductAmount", locationProductAmountController.GetLocationProductAmount) //鑾峰彇浣嶇疆浜у搧淇℃伅
 	}
 
 	//鎶ヨ〃
 	reportFormsController := new(controllers.ReportFormsController)
 	reportFormsAPI := r.Group(urlPrefix + "/forms")
 	{
-		reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms) //鑾峰彇搴撳瓨鎶ヨ〃
-		reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)               //鑾峰彇搴撳瓨鍘嗗彶
-		reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)   //鑾峰彇浣嶇疆鎶ヨ〃
+		reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms)           //鑾峰彇搴撳瓨鎶ヨ〃
+		reportFormsAPI.POST("downloadInventoryForms", reportFormsController.DownloadInventoryForms) //涓嬭浇搴撳瓨鎶ヨ〃
+		reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)                         //鑾峰彇搴撳瓨鍘嗗彶
+		reportFormsAPI.POST("downloadHistory", reportFormsController.DownloadHistory)               //涓嬭浇搴撳瓨鎶ヨ〃
+		reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)             //鑾峰彇浣嶇疆鎶ヨ〃
+		reportFormsAPI.POST("downloadLocationForms", reportFormsController.DownloadLocationForms)   //涓嬭浇浣嶇疆鎶ヨ〃
+		reportFormsAPI.POST("monthStats", reportFormsController.MonthStats)                         //鑾峰彇鏈堝害缁熻鎶ヨ〃
+		reportFormsAPI.POST("downloadMonthStats", reportFormsController.DownloadMonthStats)         //涓嬭浇鏈堝害缁熻鎶ヨ〃
+		reportFormsAPI.POST("doMonthStats", reportFormsController.DoMonthStats)                     //鎵嬪姩璺戞湀搴︾粺璁″簱瀛樻姤琛�
 	}
 
 	//閲嶈璐ц鍒�

--
Gitblit v1.8.0