|
|
@ -138,8 +138,9 @@ class FinanceController extends ThinkController
|
|
|
|
$this->error('月份不能为空');
|
|
|
|
$this->error('月份不能为空');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$startTime = strtotime(date("Y-m-01",strtotime($month)));
|
|
|
|
$tarry = explode('-',$month);
|
|
|
|
$endTime = strtotime(date("Y-m-t",strtotime($month)));
|
|
|
|
$startTime=mktime(0,0,0,$tarry[1],1,$tarry[0]);
|
|
|
|
|
|
|
|
$endTime =mktime(0,0,0,$tarry[1]-0+1,1,$tarry[0])-1;
|
|
|
|
|
|
|
|
|
|
|
|
$map['pay_time'] = array('between',array($startTime,$endTime));
|
|
|
|
$map['pay_time'] = array('between',array($startTime,$endTime));
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|