|
|
@@ -90,6 +90,7 @@ class LargeWasteRewardPunish extends Api
|
|
|
$this->error('请求方式错误');
|
|
|
}
|
|
|
$req = $this->request->param();
|
|
|
+ $rq = $req['date'];
|
|
|
$page = 1;
|
|
|
$limit = 15;
|
|
|
if (isset($req['page']) && !empty($req['page'])) $page = $req['page'];
|
|
|
@@ -98,7 +99,7 @@ class LargeWasteRewardPunish extends Api
|
|
|
$req['date'] = str_replace('.','-',$date);
|
|
|
$where = [];
|
|
|
if (isset($req['date']) && !empty($req['date'])){
|
|
|
- if (preg_match('/[\x{4e00}-\x{9fa5}]/u', $req['date']) > 0){
|
|
|
+ if (preg_match('/[\x{4e00}-\x{9fa5}]/u', $rq)>0){
|
|
|
$where['sys_rq'] = ['LIKE',$req['date'].'%'];
|
|
|
}else{
|
|
|
$where['sczl_rq'] = ['LIKE',$req['date'].'%'];
|