diff --git a/db/zentao.sql b/db/zentao.sql index 7a0de1ffaa..72243dccc4 100755 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -1631,7 +1631,6 @@ CREATE TABLE IF NOT EXISTS `zt_project` ( `colWidth` smallint unsigned NOT NULL DEFAULT 264, `minColWidth` smallint unsigned NOT NULL DEFAULT 200, `maxColWidth` smallint unsigned NOT NULL DEFAULT 384, - `deliverable` text DEFAULT NULL, `vision` varchar(10) NOT NULL DEFAULT 'rnd', `frozen` varchar(30) NOT NULL DEFAULT '' COMMENT '冻结状态', `deleted` tinyint unsigned NOT NULL DEFAULT 0, diff --git a/module/execution/model.php b/module/execution/model.php index 75dcad9e47..cfe4d1fc0f 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -617,7 +617,7 @@ class executionModel extends model public function batchChangeStatus(array $executionIdList, string $status): array { /* Sort the IDs, the child stage comes first, and the parent stage follows. */ - $executionList = $this->dao->select('id,name,status,grade,type,attribute,deliverable,project')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->filterTpl(false)->orderBy('grade_desc')->fetchAll('id'); + $executionList = $this->dao->select('id,name,status,grade,type,attribute,project')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->filterTpl(false)->orderBy('grade_desc')->fetchAll('id'); $this->loadModel('programplan'); $message = array('byChild' => '', 'byDeliverable' => '');