|
|
@ -43,7 +43,8 @@ class FinancialSummaryController extends AdminController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public function updateStatement()
|
|
|
|
public function updateStatement()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$temp = date('Y',time()).'-'.(date('m',time())-1);
|
|
|
|
|
|
|
|
|
|
|
|
$temp = date('Y-m',strtotime(date('Y',time()).'-'.(date('m',time())-1).'-01'));
|
|
|
|
$params = "php ".SUBSITE_INDEX." FinancialSummarySet/setMonthFinancialSummary/recount/1/count_date/{$temp}";
|
|
|
|
$params = "php ".SUBSITE_INDEX." FinancialSummarySet/setMonthFinancialSummary/recount/1/count_date/{$temp}";
|
|
|
|
$r = D("CmdTasks")->addTask("FinancialSummary",$params);
|
|
|
|
$r = D("CmdTasks")->addTask("FinancialSummary",$params);
|
|
|
|
if($r){
|
|
|
|
if($r){
|
|
|
|