| 13 | var _ IProviderModelService = (*imlProviderModelService)(nil) |
| 14 | |
| 15 | type imlProviderModelService struct { |
| 16 | universally.IServiceGet[ProviderModel] |
| 17 | universally.IServiceCreate[ProviderModel] |
| 18 | universally.IServiceDelete |
| 19 | store ai.IProviderModelStore `autowired:""` |
| 20 | } |
| 21 | |
| 22 | func (i *imlProviderModelService) CountMapByProvider(ctx context.Context, conditions map[string]interface{}) (map[string]int64, error) { |
| 23 | return i.store.CountByGroup(ctx, "", conditions, "provider") |
nothing calls this directly
no outgoing calls
no test coverage detected