Fix comment for checking advance order #378

This commit is contained in:
Kendrick Chan 2020-04-15 15:17:12 +08:00
parent 7aebe13d1f
commit b7b38d138b

View file

@ -2324,7 +2324,7 @@ class APIController extends Controller implements LoggedController
$date_end->add(new DateInterval('PT2H'));
// NOTE: get advance orders via query
// get JOs assigned to hub that are advance orders and scheduled within 3 hours with
// get JOs assigned to hub that are advance orders and scheduled within X hours with
// for rider assignment status
$query = $em->createQuery('select count(jo) from App\Entity\JobOrder jo where jo.hub = :hub and jo.flag_advance = true and jo.date_schedule <= :date_end and jo.status = :status');
$count_advance_orders = $query->setParameters([