| | |
| | | return ecode.OK |
| | | } |
| | | |
| | | func (CollectionProjectionService) GetCollectionProjectionList(page, pageSize int) (int64, int, []*model.CollectionProjection) { |
| | | func (CollectionProjectionService) GetCollectionProjectionList(page, pageSize int, data map[string]interface{}) (int64, int, []*model.CollectionProjection) { |
| | | |
| | | total, err, list := model.NewCollectionProjectionSearch().SetPage(page, pageSize).Find() |
| | | total, err, list := model.NewCollectionProjectionSearch().SetPage(page, pageSize).SetSearchMap(data).Find() |
| | | if err != nil { |
| | | return total, ecode.CollectionProjectionListErr, list |
| | | } |