Преглед на файлове

fix(lakala): update receiver list search parameters

- Add 'user_id' to the searchable fields in getReceiverList method
- Maintain existing search fields 'order_no' and 'status'
- Ensure pagination and status text appending still work correctly
runphp преди 4 месеца
родител
ревизия
48705f2493
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Entity/ProfitShareReceiverEntity.php

+ 1 - 1
src/Entity/ProfitShareReceiverEntity.php

@@ -43,7 +43,7 @@ class ProfitShareReceiverEntity extends BaseEntity
 
     public function getReceiverList(array $params, array $pageAndLimit):Paginator
     {
-        return $this->withSearch(['order_no', 'status'],$params)
+        return $this->withSearch(['order_no', 'status', 'user_id'], $params)
             ->append(['status_text'])
             ->paginate($pageAndLimit);
     }