This commit is contained in:
wangyuting
2022-11-21 02:18:59 +00:00
parent e1a7dfb06e
commit f7d7f68fc9
+1 -1
View File
@@ -5112,7 +5112,6 @@ class executionModel extends model
$_POST = array();
$_POST['project'] = $projectID;
$_POST['name'] = $project->name;
$_POST['code'] = $project->code;
$_POST['begin'] = $project->begin;
$_POST['end'] = $project->end;
$_POST['status'] = 'wait';
@@ -5126,6 +5125,7 @@ class executionModel extends model
$_POST['RD'] = '';
$_POST['multiple'] = '0';
$_POST['hasProduct'] = $project->hasProduct;
if($project->code) $_POST['code'] = $project->code;
$projectProducts = $this->dao->select('*')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchAll();
foreach($projectProducts as $projectProduct)