|
|
@ -43,7 +43,7 @@ class FinancialSummaryController extends AdminController
|
|
|
|
public function updateStatement()
|
|
|
|
public function updateStatement()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$temp = date('Y',time()).'-'.(date('m',time())-1);
|
|
|
|
$temp = date('Y',time()).'-'.(date('m',time())-1);
|
|
|
|
$params = "cd ".ROOTTTTT.";php admin.php FinancialSummarySet/setMonthFinancialSummary/recount/1/count_date/{$temp}";
|
|
|
|
$params = "php admin.php FinancialSummarySet/setMonthFinancialSummary/recount/1/count_date/{$temp}";
|
|
|
|
$r = D("CmdTasks")->addTask("FinancialSummary",$params);
|
|
|
|
$r = D("CmdTasks")->addTask("FinancialSummary",$params);
|
|
|
|
if($r){
|
|
|
|
if($r){
|
|
|
|
$this->ajaxReturn(["success"=>"ok"]);
|
|
|
|
$this->ajaxReturn(["success"=>"ok"]);
|
|
|
|