소스 검색

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 6 달 전
부모
커밋
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);
     }