|
@ -307,7 +307,7 @@ func (impl *ArticleAtcodLstDAOImplement) UpdateWhere(predicates []grmi.Predicate |
|
|
* @Reference LAPP_GAAS_GFrame_BACKEND/dao/base/ArticleAtcodLstDAO.SelectAllot |
|
|
* @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) |
|
|
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) |
|
|
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) |
|
|