|
@@ -14,8 +14,8 @@ class ThStock extends Base
|
|
|
}
|
|
|
|
|
|
public function List(){
|
|
|
- $param=$this->request->param(['start',"end","orderCode","thCode","good_code","companyNo","status","page"=>1,"size"=>15],
|
|
|
- "post","trim");
|
|
|
+ $param=$this->request->param(['start'=>"","end"=>'',"orderCode"=>'',"thCode"=>'',"good_code"=>'',"companyNo"=>'',"status"=>'',
|
|
|
+ "page"=>1,"size"=>15],"post","trim");
|
|
|
$where=[];
|
|
|
if($param['start']!='' && $param['end']!=""){
|
|
|
$where[]=["addtime","between",[date("Y-m-d 00:00:00",strtotime($param['start'])),date('Y-m-d 23:59:59',strtotime($param['end']))]];
|