瀏覽代碼

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);
     }