From b3a318b7f707ca49fa9127881bbe709654eaa761 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 27 九月 2023 17:27:51 +0800
Subject: [PATCH] 报表功能开发

---
 controllers/warehouse.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/warehouse.go b/controllers/warehouse.go
index 94210d0..8606ee1 100644
--- a/controllers/warehouse.go
+++ b/controllers/warehouse.go
@@ -143,7 +143,7 @@
 	for _, warehouse := range list {
 		codes = append(codes, warehouse.Code)
 	}
-	locations, err := models.NewLocationSearch().SetCodes(codes).FindNotTotal()
+	locations, err := models.NewLocationSearch().SetJointNames(codes).FindNotTotal()
 	if err != nil {
 		util.ResponseFormat(c, code.RequestParamError, "浣嶇疆淇℃伅鏌ユ壘澶辫触")
 		return

--
Gitblit v1.8.0