|
...
|
...
|
@@ -53,7 +53,7 @@ class lyhDemo extends Command |
|
|
|
$v6WeekModel = new V6WeeklyReport();
|
|
|
|
foreach ($projectArr as $item){
|
|
|
|
$projectModel = new Project();
|
|
|
|
$latest = $v6WeekModel->formatQuery(['project_id'=>$item])->orderBy('id', 'desc')->first()->toArray();
|
|
|
|
$latest = $v6WeekModel->formatQuery(['project_id'=>$item])->orderBy('id', 'desc')->first();
|
|
|
|
$list = $projectModel->read(['delete_status'=>0,'id'=>$item],['id','title','is_weekly_report','main_lang_id']);
|
|
|
|
$latest['main_lang_id'] = $list['main_lang_id'];
|
|
|
|
$latest['is_weekly_report'] = $list['is_weekly_report'];
|
...
|
...
|
|