(ctx context.Context, status int, service ...string)
| 51 | } |
| 52 | |
| 53 | func (i *imlSubscribeService) CountMapByService(ctx context.Context, status int, service ...string) (map[string]int64, error) { |
| 54 | w := make(map[string]interface{}) |
| 55 | if len(service) > 0 { |
| 56 | w["service"] = service |
| 57 | } |
| 58 | |
| 59 | w["apply_status"] = status |
| 60 | return i.store.CountByGroup(ctx, "", w, "service") |
| 61 | } |
| 62 | |
| 63 | func (i *imlSubscribeService) ListByServices(ctx context.Context, serviceIds ...string) ([]*Subscribe, error) { |
| 64 | w := make(map[string]interface{}) |
nothing calls this directly
no test coverage detected