|
|
@ -52,10 +52,12 @@ class StatementWarningController extends AdminController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private function getLastUpdate()
|
|
|
|
private function getLastUpdate()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$preMonth = explode('-',date('Y-m',mktime(0,0,0,date('m',time()),1,date('Y',time()))-1));
|
|
|
|
|
|
|
|
|
|
|
|
$lastUpdate = $this->statementWarningModel->where([
|
|
|
|
$lastUpdate = $this->statementWarningModel->where([
|
|
|
|
'count_year'=>$_REQUEST['year'],
|
|
|
|
'count_year'=>$preMonth[0],
|
|
|
|
'count_month'=>date('m',time()),
|
|
|
|
'count_month'=>$preMonth[1],
|
|
|
|
"name"=>'wm_platm',
|
|
|
|
"name"=>'wm_platm',
|
|
|
|
"type"=>1
|
|
|
|
"type"=>1
|
|
|
|
])->field("create_time")->find();
|
|
|
|
])->field("create_time")->find();
|
|
|
|