diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index c1db22f5..506013ea 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -905,7 +905,7 @@ class Auth extends BaseController $districtCode = $this->request->param('district_code', ''); $streetCode = $this->request->param('street_code'); $villageCode = $this->request->param('village_code', ''); - $brigadeId = $this->request->param('brigade_id', 0); + $brigadeId = $this->request->param('brigade_id', -1); $startDate = $this->request->param('start_date', date('Y-m-d')); $endDate = $this->request->param('end_date', date('Y-m-d')); $queryBuilder = Db::name('ProductOrderLog')->where('status', 1);