Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ExchangeUnassignedscope | n/a | 0 / 0 | n/a | 0 / 0 | 0 | n/a | 0 / 0 | |||
| 1 | <?php | |
| 2 | ||
| 3 | namespace BO\Zmsbackend\Exchange\Repository; | |
| 4 | ||
| 5 | class ExchangeUnassignedscope extends \BO\Zmsbackend\Query\Base | |
| 6 | { | |
| 7 | const string QUERY_READ_REPORT = "SELECT | |
| 8 | standort.StandortID, | |
| 9 | standort.Bezeichnung, | |
| 10 | IFNULL(COUNT(buerger.BuergerID), '') AS TerminAnzahl, | |
| 11 | IFNULL(GROUP_CONCAT(DISTINCT buerger.Datum ORDER BY buerger.Datum), '') AS TerminDaten | |
| 12 | FROM standort | |
| 13 | LEFT JOIN provider | |
| 14 | ON standort.InfoDienstleisterID = provider.id | |
| 15 | LEFT JOIN buerger | |
| 16 | ON buerger.StandortID = standort.StandortID | |
| 17 | WHERE provider.id IS NULL | |
| 18 | GROUP BY standort.StandortID; | |
| 19 | "; | |
| 20 | } |