From 5ec5bb849605c5d85b37828ab98c361cfb63d43e Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Thu, 27 May 2021 09:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/qm/implments/View.service.impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/qm/implments/View.service.impl.go b/services/qm/implments/View.service.impl.go index c0e8392..020a9f6 100644 --- a/services/qm/implments/View.service.impl.go +++ b/services/qm/implments/View.service.impl.go @@ -602,7 +602,7 @@ func (impl *ViewServiceImplement) ViewsOfArticle(context *container.RequestConte slaves := db.Eloquent.Slaves() - slavesession := slaves[1].NewSession() + slavesession := slaves[0].NewSession() defer slavesession.Close() apiDao := api.NewACCUNITSTATUSDAO(slavesession, impl.session.User().Userid) mesData,err := apiDao.SelectOne(orderId, "LaserWelding")