|
|
@ -322,6 +322,6 @@ func (impl *ProductFamilyRelateDAOImplement) SelectProductByFamilyId(projectId s |
|
|
|
meta.Product_PlantNr.ColumnName, |
|
|
|
meta.ProductFamilyRelate_ProductId.ColumnName, |
|
|
|
meta.Product_ProductId.ColumnName) |
|
|
|
err := impl.session.Table(impl.meta.TableName).Join("LEFT", meta.Product.TableName, condition).Where(where, parameters...).OrderBy(meta.ProductFamilyRelate_Pos.ColumnName).Find(&result) |
|
|
|
err := impl.session.Table(impl.meta.TableName).Join("LEFT", meta.Product.TableName, condition).Where(where, parameters...).OrderBy(meta.ProductFamilyRelate_Pos.SortColumnName).Find(&result) |
|
|
|
return result, err |
|
|
|
} |