This commit is contained in:
SliverHorn
2022-08-10 22:35:32 +08:00
committed by GitHub
parent f32ed3a5c8
commit 767e7650e0

View File

@@ -81,6 +81,6 @@ func (dictionaryDetailService *DictionaryDetailService) GetSysDictionaryDetailIn
if err != nil {
return
}
err = db.Limit(limit).Offset(offset).Find(&sysDictionaryDetails).Error
err = db.Limit(limit).Offset(offset).Order("sort").Find(&sysDictionaryDetails).Error
return sysDictionaryDetails, total, err
}