* Finish task #40843.

This commit is contained in:
tianshujie98
2021-08-03 10:55:39 +08:00
parent 2e0d20f7b9
commit d83bb8b852
10 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -453,8 +453,8 @@ class programModel extends model
$this->dao->update(TABLE_PROJECT)
->set('budgetUnit')->eq($program->budgetUnit)
->beginIF(!empty($_POST['exchangeRate']))->set("budget = {$_POST['exchangeRate']} * `budget`")->fi()
->where('parent')->eq($programID)
->andWhere('type')->eq('project')
->where('path')->like(",{$programID},%")
->andWhere('type')->in('program,project')
->exec();
}