处理分享2
This commit is contained in:
@@ -82,8 +82,8 @@ func (r *QuestionQaItemDao) GetQuestionQaItemList(maps interface{}) (m []*model.
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// GetQuestionQaItemrPreloadList 获取列表-加载全部关联
|
||||
func (r *QuestionQaItemDao) GetQuestionQaItemrPreloadList(maps interface{}) (m []*model.QuestionQaItem, err error) {
|
||||
// GetQuestionQaItemPreloadList 获取列表-加载全部关联
|
||||
func (r *QuestionQaItemDao) GetQuestionQaItemPreloadList(maps interface{}) (m []*model.QuestionQaItem, err error) {
|
||||
err = global.Db.Preload(clause.Associations).Where(maps).Find(&m).Error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user