This commit is contained in:
wangyidong
2022-11-10 12:08:21 +08:00
parent 97d2ccf52d
commit 2e6e289f1a
+3
View File
@@ -7471,6 +7471,9 @@ class upgradeModel extends model
*/
public function fixWeeklyReport()
{
if(!isset($this->app->user)) $this->app->user = new stdclass();
$this->app->user->admin = true;
$this->loadModel('weekly');
$projects = $this->dao->select('id,begin,end')->from(TABLE_PROJECT)->where('deleted')->eq('0')->andWhere('model')->eq('waterfall')->fetchAll('id');