From 3e7e864d36dc4e13e3a36e3904dc218f7bfd0a99 Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Tue, 20 Apr 2021 10:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=A0=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/base/implments/ArticleAtcodLst.dao.impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/base/implments/ArticleAtcodLst.dao.impl.go b/dao/base/implments/ArticleAtcodLst.dao.impl.go index 64d5ee5..b23065b 100644 --- a/dao/base/implments/ArticleAtcodLst.dao.impl.go +++ b/dao/base/implments/ArticleAtcodLst.dao.impl.go @@ -307,7 +307,7 @@ func (impl *ArticleAtcodLstDAOImplement) UpdateWhere(predicates []grmi.Predicate * @Reference LAPP_GAAS_GFrame_BACKEND/dao/base/ArticleAtcodLstDAO.SelectAllot * ******************************************************************************/ -func (impl *ArticleAtcodLstDAOImplement) SelectAllot(artId int) ([]model.Attribute, error) { +func (impl *ArticleAtcodLstDAOImplement) SelectAllot(artId string) ([]model.Attribute, error) { data := make([]model.Attribute, 0) session := impl.session.Table(meta.Attribute.TableName).Join("LEFT",meta.ArticleAtcodLst.TableName,"ArticleAtcodLst.PlantNr = Attribute.PlantNr and ArticleAtcodLst.AttrCode = Attribute.AttrCode").Where("ArticleAtcodLst.PlantNr = ? and ArticleAtcodLst.ArtId = ?", impl.plantNr, artId)