Browse Source

传值修改

pull/131/head
娄文智 3 years ago
parent
commit
3e7e864d36
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dao/base/implments/ArticleAtcodLst.dao.impl.go

+ 1
- 1
dao/base/implments/ArticleAtcodLst.dao.impl.go View File

@ -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)


Loading…
Cancel
Save