Commit b19efe8e authored by yinxiaoling's avatar yinxiaoling

处理下发数据

parent 07030a8b
......@@ -51,8 +51,8 @@ class CreatedTaskDataCommand extends Command
$job = (new StrategyTaskJob($jobParams))->onQueue('StrategyTask');
dispatch($job);
}else{//修改最后执行月份
$cmonth = date('n');
StrategyExcel::where([['strategy_sn',$strategySn],['last_handle_month','<>',$cmonth]])->update(['last_handle_month'=>$cmonth]);
$cmonth = date('n');
StrategyExcel::where([['strategy_sn',$v['strategy_sn']],['last_handle_month','<>',$cmonth]])->update(['last_handle_month'=>$cmonth]);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment