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