|
@@ -21,7 +21,7 @@ class CombindStock extends Base
|
|
|
|
|
|
public function list(){
|
|
|
$param=$this->request->only(['spuCode'=>'','wsm_code'=>'','good_name'=>'','cat_id'=>'','status'=>'','flag'=>'',
|
|
|
- "create_start"=>"2023-01-01 00:00:00","create_end"=>date("Y-m-d H:i:s")],'post','trim');
|
|
|
+ "create_start"=>"2023-01-01 00:00:00","create_end"=>date("Y-m-d H:i:s"),"page"=>1,"size"=>15],'post','trim');
|
|
|
$where=[["createtime","between",[$param['create_start'],$param['create_end']]]];
|
|
|
$param['spuCode']?? $where[]=["spuCode","like","%{$param['spuCode']}%"];
|
|
|
$param['wsm_code']?? $where[]=["wsm_code","like","%{$param['wsm_code']}%"];
|