* Code for code review.

This commit is contained in:
Yagami
2022-10-27 16:22:09 +08:00
parent 87baa3f912
commit bce03159e7
7 changed files with 35 additions and 13 deletions
+1
View File
@@ -876,6 +876,7 @@ class programplanModel extends model
{
unset($data->id);
$data->status = 'wait';
$data->division = $project->division;
$data->version = 1;
$data->parentVersion = $data->parent == 0 ? 0 : $this->dao->findByID($data->parent)->from(TABLE_PROJECT)->fetch('version');
$data->team = substr($data->name,0, 30);