From e1be56f9a3b9647d255861556e45843e35926921 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 15 Jan 2026 02:59:33 +0000 Subject: [PATCH 1/2] * [bug#65937,done,0.2h] fix bug. --- module/doc/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/doc/model.php b/module/doc/model.php index 916461fb95..2b58a1e7bf 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1796,7 +1796,9 @@ class docModel extends model { $this->dao->update(TABLE_PROJECTDELIVERABLE) ->set('name')->eq($doc->title) + ->set('docVersion')->eq($doc->version) ->where('doc')->eq($docID) + ->andWhere('status')->eq('draft') ->exec(); } From 3ab5c0ad4c8b5e217b2081167fb309b2b3448292 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 15 Jan 2026 03:26:02 +0000 Subject: [PATCH 2/2] * [bug#66881,done,0.2h] fix bug. --- db/update21.7.8.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/update21.7.8.sql b/db/update21.7.8.sql index 16af04faef..9cb5d9d465 100644 --- a/db/update21.7.8.sql +++ b/db/update21.7.8.sql @@ -162,6 +162,8 @@ UPDATE zt_activity SET optional = CASE ELSE optional END; +UPDATE `zt_activity` SET `optional` = 'yes' WHERE `optional` = ''; + ALTER TABLE `zt_process` CHANGE `model` `model` varchar(30) NOT NULL DEFAULT ''; ALTER TABLE `zt_auditplan` ADD `cycleType` varchar(10) NOT NULL DEFAULT 'noCycle' COMMENT '周期类型' AFTER `status`;