Merge branch '162-phase-2-changes' into 'master'
Fix bug in rider report command #162 Closes #162 See merge request jankstudio/resq!195
This commit is contained in:
commit
ba3b52c4cc
2 changed files with 46 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ class ReportRiderTime extends Command
|
||||||
{
|
{
|
||||||
$jo_events = $this->em->createQuery("select e from App\Entity\JOEvent e where e.date_create >= :dfrom and e.date_create <= :dto")
|
$jo_events = $this->em->createQuery("select e from App\Entity\JOEvent e where e.date_create >= :dfrom and e.date_create <= :dto")
|
||||||
->setParameters([
|
->setParameters([
|
||||||
'dfrom' => '20180805',
|
'dfrom' => $date_from,
|
||||||
'dto' => '20180920',
|
'dto' => $date_to,
|
||||||
])
|
])
|
||||||
->getResult();
|
->getResult();
|
||||||
// $jo_events = $this->em->getRepository(JOEvent::class)->findBy('date_create' => '20180905');
|
// $jo_events = $this->em->getRepository(JOEvent::class)->findBy('date_create' => '20180905');
|
||||||
|
|
|
||||||
44
test.csv
Normal file
44
test.csv
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
42529,2018-07-01,1153,2192484
|
||||||
|
42641,2018-07-01,415,2183083
|
||||||
|
42663,2018-07-02,66434,2112767
|
||||||
|
42676,2018-07-01,704,2176744
|
||||||
|
42682,2018-07-01,1107,2175408
|
||||||
|
42706,2018-07-01,267,2174225
|
||||||
|
42740,2018-07-01,110,2170413
|
||||||
|
42830,2018-07-01,436,2157155
|
||||||
|
42842,2018-07-01,1825,2154668
|
||||||
|
42849,2018-07-01,1212,2154635
|
||||||
|
42851,2018-07-01,1037,2154361
|
||||||
|
42853,2018-07-01,1393,2153400
|
||||||
|
42854,2018-07-01,2064,2152743
|
||||||
|
42855,2018-07-01,1572,2153397
|
||||||
|
42869,2018-07-01,2254,2150063
|
||||||
|
42890,2018-07-01,2248,2145553
|
||||||
|
42924,2018-07-02,527,2120701
|
||||||
|
42957,2018-07-02,492,2115493
|
||||||
|
42965,2018-07-02,658,2114768
|
||||||
|
42976,2018-07-02,1567,2112955
|
||||||
|
42986,2018-07-02,1581,2111568
|
||||||
|
43007,2018-07-03,23,2110913
|
||||||
|
43015,2018-07-02,26,2110314
|
||||||
|
43016,2018-07-02,1351,2108941
|
||||||
|
43029,2018-07-02,19,2109379
|
||||||
|
43059,2018-07-02,663,2105625
|
||||||
|
43064,2018-07-02,1158,2104936
|
||||||
|
43087,2018-07-02,879,2103604
|
||||||
|
43090,2018-07-02,3262391,149
|
||||||
|
43095,2018-07-02,20,2103769
|
||||||
|
43098,2018-07-02,699,2102901
|
||||||
|
43119,2018-07-02,882,2101362
|
||||||
|
43144,2018-07-02,18,2099984
|
||||||
|
43184,2018-07-02,513,5979
|
||||||
|
43189,2018-07-02,676,2095027
|
||||||
|
43203,2018-07-02,20,2094155
|
||||||
|
43253,2018-07-02,2032,2086495
|
||||||
|
43293,2018-07-02,360,2084449
|
||||||
|
43306,2018-07-02,347,2082735
|
||||||
|
43321,2018-07-02,193,2081589
|
||||||
|
31695,2018-06-11,2083033,109687
|
||||||
|
43345,2018-08-13,58,10
|
||||||
|
43346,2018-08-15,24,42
|
||||||
|
43347,2018-08-15,20,30
|
||||||
|
Loading…
Reference in a new issue